Skip to content
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 access variables of saved resource with flag bundle resources on Android #60975

Closed
ghost opened this issue May 12, 2022 · 5 comments
Closed

Comments

@ghost
Copy link

ghost commented May 12, 2022

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

@Calinou
Copy link
Member

Calinou commented May 12, 2022

@eitantsu Please upload a minimal reproduction project to make this easier to troubleshoot.

@kendalf
Copy link

kendalf commented May 31, 2023

I can confirm this looks like its still a problem in v3.5.stable.official [991bb6a]
I think HTML5 is also affected.

@AThousandShips
Copy link
Member

@kendalf can you provide a minimum reproduction project? Otherwise this will be closed since OP is ghost and no MRP was provided

@AThousandShips
Copy link
Member

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)

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2023
@max-pi
Copy link

max-pi commented Nov 8, 2023

it's the same issue as #65393

not android specific

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants