-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot export Dictionary in 3.0 #16247
Comments
I'd also like to know what's going on with this. |
DictionaryPropertyEdit can only change value. The key is read-only. (for now) godot/editor/dictionary_property_edit.cpp Lines 42 to 46 in 6db60c0
It is supposed to work if you export Dictionary with some values, but there's another bug. Exported dictionaries are saved in the scene file as null. Node.tscn:
|
any news on a fix for this issue? |
It should be now fixed with the new inspector (though it is slightly crashy, but still works).
To be fixed by #19635 (the GDScript part of the changes). |
That's fixed in the master branch. |
Godot version:
Godot 3.0 20a52aa
Issue description:
According to this and this, the new debugger PR was supposed to add Inspector editing for exported Dictionary variables, but I can't seem to make this work.
Steps to reproduce:
Create any scene. Add a root node. Add a built-in script:
export(Dictionary) var dict = {}
Examine the node in the scene. Click the right-arrow next to the Dictionary property. The
DictionaryPropertyEdit
won't have anything but a Reference section with the Script variable.The text was updated successfully, but these errors were encountered: