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

Project Rendering: Multi-Threaded issue when 2D CharacterBody2D Node have CPUParticles2D visible and playing #71359

Open
Labanazario opened this issue Jan 13, 2023 · 2 comments

Comments

@Labanazario
Copy link

Godot version

4.0 beta 12

System information

Windows 11

Issue description

Hello.

Thanks for the good effort and job in the engine. It's very improved now.
I like to share a issue that happens when toggling Multi-Thread in Rendering -> Driver and the scene tree have CPU Particles 2D Node in some CharacterBody2D and you try to run the project

I have reproduced this issue in beta 9 and still in beta 12 of 4.0 version.

It just close the game after run, no warn, no alert, no notable error.

The game run just fine if Single Mode is enabled in Render Drive. Only happens when Multi-thread and CPU Particles 2D are in use

Steps to reproduce

In any project:

Access Project Settings-> Rendering -> Driver -> toggle Multi-Threaded in Thread Model

Minimal reproduction project

A minimal project that have at least one scene with a node that have a CharacterBody2D with a PolygonShape2D, some Collision2D for the Body and a CPUParticle2D as children.

@Calinou
Copy link
Member

Calinou commented Jan 13, 2023

@Labanazario Please upload a minimal reproduction project to make this easier to troubleshoot.

@Labanazario
Copy link
Author

Ok, this is the minimal project.

Thanks
minimal.zip

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

2 participants