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

Editor crash when setting GPUParticle draw pass with any mesh material as Particle Billboard. #70382

Closed
AllenDang opened this issue Dec 21, 2022 · 3 comments

Comments

@AllenDang
Copy link

Godot version

4.0 Beta 9

System information

macOS v13.0

Issue description

Immediate editor crash.

Steps to reproduce

  1. Add a GPU Particle.
  2. Set draw pass 1 to QuadMesh.
  3. Create a new standard material for QuadMesh.
  4. Set billboard to Particle Billboard.

Minimal reproduction project

N/A

@clayjohn
Copy link
Member

I can't reproduce this issue running on PopOS 22.04.

Can you run the engine from the command line, reproduce the issue, and then let us know if there is anything printed?

@Tetane
Copy link
Contributor

Tetane commented Dec 21, 2022

I tested it on windows 10 (Nvidia GTX 980). The editor crashes sometime, but not always.
When it's not crashing, it prints an error at each frame:

ERROR: Uniforms were never supplied for set (3) at the time of drawing, which are required by the pipeline
   at: (drivers\vulkan\rendering_device_vulkan.cpp:7345)

And just before the crash, I get these errors:

ERROR: Condition "!shader" is true. Returning: RID()
   at: RenderingDeviceVulkan::render_pipeline_create (drivers\vulkan\rendering_device_vulkan.cpp:5983)
drivers\vulkan\rendering_device_vulkan.cpp:5983 - Condition "!shader" is true. Returning: RID()
ERROR: Condition "pipeline.is_null()" is true. Returning: RID()
   at: PipelineCacheRD::_generate_version (servers\rendering\renderer_rd\pipeline_cache_rd.cpp:61)
servers\rendering\renderer_rd\pipeline_cache_rd.cpp:61 - Condition "pipeline.is_null()" is true. Returning: RID()
ERROR: This render pipeline requires (0) bytes of push constant data, supplied: (16)
   at: (drivers\vulkan\rendering_device_vulkan.cpp:7298)
This render pipeline requires (0) bytes of push constant data, supplied: (16)
ERROR: No render pipeline was set before attempting to draw.
   at: (drivers\vulkan\rendering_device_vulkan.cpp:7315)
No render pipeline was set before attempting to draw.
Exception thrown at 0x00007FF654E83C65 in godot.windows.editor.dev.x86_64.exe: 0xC0000005: Access violation reading location 0x00000000EEDE783A.

The debugger stops the execution in "core\templates\cowdata.h" at line 133 during the crash.

@clayjohn
Copy link
Member

Duplicate of #69156. I am closing this issue in favour of #69156 so that we can track this issue in one place

@clayjohn clayjohn closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2023
@clayjohn clayjohn removed this from the 4.0 milestone Jan 11, 2023
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

3 participants