-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
inst_to_dict not support built-in script #69486
Comments
Might be a case of #6533? |
This bug exists in the 3.x as well. The check may be incorrect here and should be removed: godot/modules/gdscript/gdscript_utility_functions.cpp Lines 305 to 314 in 7bffdca
|
I tested in 3.5 and it works. |
Ok I think I misread the issue. It's indeed broken in both versions. But I think this is just a limitation. The method requires a script path to work, otherwise you won't be able to de-serialize the object. It's not possible to obtain a built-in resource from external scene (it's just not implemented. You can't preload them for the same reason). |
Then I suggest adding the note to the documentation of this method. |
Godot version
v4.0.beta7.official [0bb1e89]
System information
Windows10, 64bit
Issue description
Steps to reproduce
/
Minimal reproduction project
InstToDictTest.zip
The text was updated successfully, but these errors were encountered: