Skip to content

4.0 beta 6 crash often with GPUParticles3D #69156

Closed
@wdv4758h

Description

@wdv4758h

Godot version

4.0.beta6.official.7f8ecffa5

System information

Arch Linux, Vulkan, NVIDIA GeForce RTX 2060

Issue description

Not sure what's the root trigger. It has many actions that can trigger crash or hang. Like swapping texture for the QuadMesh particle. But it's not always happen. Sometime a project restart will make the actions fine again.

The backtrace:

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta6.official (7f8ecffa56834dce3ccbd736738b613d51133dea)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38a00) [0x7f74fb091a00] (??:0)
[2] /usr/bin/godot() [0x2973701] (??:0)
[3] /usr/bin/godot() [0x298afc2] (??:0)
[4] /usr/bin/godot() [0x29c6f01] (??:0)
[5] /usr/bin/godot() [0xe5e375] (??:0)
[6] /usr/bin/godot() [0xd98200] (??:0)
[7] /usr/lib/libc.so.6(+0x23290) [0x7f74fb07c290] (??:0)
[8] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f74fb07c34a] (??:0)
[9] /usr/bin/godot() [0xdb974e] (??:0)
-- END OF BACKTRACE --
================================================================

Steps to reproduce

Create a GPUParticles3D node. Use QuadMesh. Apply some textures and switch between textures. Maybe try different settings, transparency alpha, shading unshaded, blend mode add, particle billboard. I don't have a reliable way to reproduce for now.

Here is some steps that I did to see the crash, but it's not always happening.

  1. create new project
  2. add 3D scene
  3. add GPUParticles3D node
  4. assign new ParticleProcessMaterial to GPUParticles3D
  5. assign new QuadMesh to GPUParticles3D's pass 1
  6. assign new StandardMaterial3D to QuadMesh
  7. drag icon.svg to QuadMesh's StandardMaterial3D

If it's not crash after apply icon.svg. Try changing the shading mode, back and forth between different mode. And try reapply icon.svg from time to time.

Minimal reproduction project

godot-bug-gpuparticles.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions