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

Using resource_queue.gd script not working on Android #17086

Closed
nyenye opened this issue Feb 27, 2018 · 3 comments · Fixed by #23434
Closed

Using resource_queue.gd script not working on Android #17086

nyenye opened this issue Feb 27, 2018 · 3 comments · Fixed by #23434

Comments

@nyenye
Copy link

nyenye commented Feb 27, 2018

Godot version:
Godot 3.0.2

OS/device including version:
Android 5.0 Lolipop / Xiaomi Redmi A4 (GPU: Adreno 308)
Android 7.0 Nougat / Xiaomi Mi6
Android 8.0 Oreo / LG Nexus 5X (GPU: Adreno Adreno 418)

Issue description:
When loading a scene in background, the textures are shown in black.

Steps to reproduce:
Export project to android, open apk. Should see black space (which should be a texture) over colored background. Button on the right, is to switch between two different scenes.

Minimal reproduction project:
BackgroundResourceLoading.zip

@Zireael07
Copy link
Contributor

Lemme guess, Adreno devices again?

@nyenye
Copy link
Author

nyenye commented Feb 27, 2018

@Zireael07 Sh*t.... the GPU is Adreno 308.

But is it really the issue? If I load the scene with the load() method (on the main thread, which would lag the transition between scenes), the texture shows correctly.

Here is a screencapture video. As you can see, the blue screen shows a larger texture (which could give some problems depending on the GPU) which is loaded with the load() function. Then on the red screen, the texture which is loaded with the resource_queue.gd script from the docs, its black, yet it's smaller than the last one.

Thanks

@henriquelalves
Copy link
Contributor

Probably related to #21609

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

Successfully merging a pull request may close this issue.

5 participants