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

The 2D scene doesn't update the particles when using a mesh as the texture of a GPUParticles2D node. #87159

Open
GabrielPlante opened this issue Jan 13, 2024 · 0 comments · May be fixed by #102028

Comments

@GabrielPlante
Copy link

Tested versions

  • Reproducible in : 4.2 stable and in 4.1 stable.

System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.3623) - Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 Threads)

Issue description

When using a GPUParticles2D node, and assigning a MeshTexture to it's texture (no matter the texture used, I will use a QuadMesh), any change made to the mesh (for example its image size) will not be present in the scene.
However, modifying several property (any trail properties, some visibility properties...) update the scene.
This is the same for the editor's scene and in game when doing "hot reload".
Note: When launching the project it work fine.

Steps to reproduce

  • Create a GPUParticles2D node
  • Assign a ParticleProcessMaterial to its process material to see particles.
  • Assign a MeshTexture to its texture.
  • Assign a QuadMesh to the Mesh of the MeshTexture.
  • Change the image size of the QuadMesh to be 5x5
    Now the particle node should pop out some particles, but none appear.
  • Now for example change the trail_lifetime properties (without even activating the trail)
    Now particles do pop out.

Minimal reproduction project (MRP)

TestBug.zip

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.

2 participants