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

OpenGL: GPUParticles2D not showing after first launch on Android #84352

Closed
kagenay opened this issue Nov 2, 2023 · 4 comments
Closed

OpenGL: GPUParticles2D not showing after first launch on Android #84352

kagenay opened this issue Nov 2, 2023 · 4 comments

Comments

@kagenay
Copy link

kagenay commented Nov 2, 2023

Godot version

4.2.beta4

System information

Godot v4.2.beta4 - Windows 11 22H2 - Vulkan (Mobile) - integrated Intel(R) UHD Graphics 600 (Intel Corporation; 30.0.101.1994) - Intel(R) Celeron(R) N4120 CPU @ 1.10GHz (4 Threads)

Issue description

Godot GPUParticles2D not showing on android after running the game with remote debug/opening the game after the first remote debug so it only works if i uninstall the game and install with remote debug again, also another bug i found is, the colors of the particles are different on android and windows

Steps to reproduce

  1. Download and open the project below.
  2. Install the apk to your android device via remote debug.
  3. You'll see the particles work fine for the first launch but the colors are different for both platforms.
  4. Now send the apk with remote debug again or open the app after closing it and you'll see there is no particles being spawned anymore.

Minimal reproduction project

ParticleBugAndroid.zip

@Calinou
Copy link
Member

Calinou commented Nov 2, 2023

Which Android device model and Android version are you using?

Given it works on the first try but not the second try, this may be related to #79955 in some way.

also another bug i found is, the colors of the particles are different on android and windows

Can you take screenshots of the issue on Android and Windows respectively?

@Calinou Calinou changed the title Godot GPUParticles2D not showing on android OpenGL: GPUParticles2D not showing after first launch on Android Nov 2, 2023
@kagenay
Copy link
Author

kagenay commented Nov 2, 2023

Which Android device model and Android version are you using?

Im using a Samsung Galaxy Note 8 Exynos (SM-N950F) on android 8

Can you take screenshots of the issue on Android and Windows respectively?

windows:
image
android:
Screenshot_20231102-152417_ParticleBugAndroid

looks like its showing the correct color on android but on windows its showing blue even tho i set the color to purple(?)

@bitsawer
Copy link
Member

bitsawer commented Nov 2, 2023

Possibly a duplicate of #82419

The possible workaround is to disable Godot shader cache, see #82419 (comment)

@YuriSizov YuriSizov added this to the 4.2 milestone Nov 2, 2023
@akien-mga akien-mga modified the milestones: 4.2, 4.3 Nov 14, 2023
@clayjohn
Copy link
Member

Seems to be a duplicate of #82419 which was fixed by #88573

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

7 participants