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
Using ResourceSaver with flag bundle resources on a custom resource and then loading it back, does not seem to work right out of the box. after loading, trying to access any of it's variables will result in an "invalid index" error.
this happens specifically on android.
however, i managed to resolve this error by changing "gdscript export mode" to "text" and now it works fine.
windows and linux do not require this change, is this intended behaviour?
Steps to reproduce
1- use ResourceSaver to save any custom resource with flag bundle resources on.
2- use resource loader to load it back.
3- try to print any variable of the resource.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
Closing per the above comment, if someone can reproduce this issue please open a new issue for this, make sure to include a minimum reproduction project (instructions are available when opening an issue)
Godot version
3.4.2
System information
Android 8
Issue description
Using ResourceSaver with flag bundle resources on a custom resource and then loading it back, does not seem to work right out of the box. after loading, trying to access any of it's variables will result in an "invalid index" error.
this happens specifically on android.
however, i managed to resolve this error by changing "gdscript export mode" to "text" and now it works fine.
windows and linux do not require this change, is this intended behaviour?
Steps to reproduce
1- use ResourceSaver to save any custom resource with flag bundle resources on.
2- use resource loader to load it back.
3- try to print any variable of the resource.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: