You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add categories and groups for my export variables with the _get_property_list() function as documented here. I can do it in GDScript but not in Visual Script with the exact same code.
In Godot 3.2.3-stable and 3.2.4-beta3:
It's not working at all. And when I closed and reopened the project again, the "make tool" button in the Visual Script editor which was previously set to on would always be off after I reopened the project. I can't add any node to the Visual Script editor unless I disconnected the script from the scene node. Otherwise, it will give me this error:
In Godot 4 @ d834789:
It works partially as the variable shows up in the inspector tab. However, the category and group don't show up at all:
I expect it to work like GDScript and doesn't give me errors:
Steps to reproduce:
Open the script.
Add the _get_property_list() function.
Calling the functions to add categories, groups, and desired properties (variables) to the inspector tab according to the document here.
For Godot 4 (since some codes have been changed - tool >>> @ tool): test4.zip
Edited: Add a new reproduction project for Godot 4 as the old one doesn't compatible with the latest Godot 4 version - v4.0.alpha2.official [79077e6] (the engine would crash with the old project file):
Godot version:
OS/device including version:
Issue description:
I tried to add categories and groups for my export variables with the _get_property_list() function as documented here. I can do it in GDScript but not in Visual Script with the exact same code.
In Godot 3.2.3-stable and 3.2.4-beta3:
It's not working at all. And when I closed and reopened the project again, the "make tool" button in the Visual Script editor which was previously set to on would always be off after I reopened the project. I can't add any node to the Visual Script editor unless I disconnected the script from the scene node. Otherwise, it will give me this error:
In Godot 4 @ d834789:
It works partially as the variable shows up in the inspector tab. However, the category and group don't show up at all:
I expect it to work like GDScript and doesn't give me errors:
Steps to reproduce:
Minimal reproduction project:
For Godot 3:
test3.zip
For Godot 4 (since some codes have been changed - tool >>> @ tool):
test4.zip
Edited: Add a new reproduction project for Godot 4 as the old one doesn't compatible with the latest Godot 4 version - v4.0.alpha2.official [79077e6] (the engine would crash with the old project file):
Test4New.zip
The text was updated successfully, but these errors were encountered: