UDF creation with Visual Script got an error

hi community 

This question is for more DS developers.

We can't create a UDF with a Visual script result because the result is isolated, and UDF does not allow it.

So, I used it only to create a parameter output("Glass_Form" in the image), and it worked.

I am not sure since when. Today, when I create a new UDF in the same way, the results are empty under Published Geometries. But I can't create a UDF anymore. With the message below. Since published geometries are always there, even if empty, we can't add a visual script into UDF anymore.

Any reason not to use Visual Script in UDF? 

I strongly hope to be able to create a UDF with Visual Script again.