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

Crash upon creation CollisionShape2D #76543

Closed
ghost opened this issue Apr 28, 2023 · 3 comments · Fixed by #76546
Closed

Crash upon creation CollisionShape2D #76543

ghost opened this issue Apr 28, 2023 · 3 comments · Fixed by #76546

Comments

@ghost
Copy link

ghost commented Apr 28, 2023

Godot version

Godot v4.1.dev.custom_build [240ed28]

System information

Windows 10, GLES3, Nvidia GTX 1070 (31.0.15.2849)

Issue description

When creating a CollisionShape2D with double click, pressing enter, or the create button, the editor crashes.

Steps to reproduce

1.Create a CharacterBody2D scene
2.Create a Sprite2D scene
3.Try to create a CollisionShape2D scene
4.The editor crashes

Minimal reproduction project

N/A

@thiagola92
Copy link
Contributor

Godot version

Godot v4.0.3.rc1.official [2d74ee0]

System information

Fedora Linux 38, Nvidia GTX 1060

Issue description

Same

Steps to reproduce

  1. Create a Node2D
  2. Create a CollisionShape2D
  3. Crash

Video

https://www.youtube.com/watch?v=26yWipHdQkg

@thiagola92
Copy link
Contributor

Did not happened when using Godot v4.1.dev1.official [db13026]

@KoBeWi
Copy link
Member

KoBeWi commented Apr 28, 2023

This happens because shape editor is initialized in a wrong state. Until it's fixed in official build, as a workaround you can select an existing CollisionShape2D node before creating new shapes (then the crash will no longer happen until you restart the editor).

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.

5 participants