-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Restoring the defaults will cause the editor to crash if the AnimationPlayer has a CollisionShape2D node operating in its track #76771
Comments
CameraAttributes does not exist when working in 2D, as it's only used in 3D. |
Reproduced in 64eeb04. Crash when a CollisionShape2D's shape resource is
Seems related to #76492. Incorrectly removed |
cc @KoBeWi |
0.mp4Saving the scene and clicking the revert icon seems to be necessary to reproduce the issue. |
Godot version
v4.0.3.rc.mono.custom_build [7839d0f8b]
System information
win11
Issue description
Clicking on the position in the image causes the editor to crash
点击图片中位置,导致编辑器崩溃
Steps to reproduce
1 Create a scene A, containing AnimationPlayer and Area2D/CollisionShape2D
2 Create Scene B (inherits Scene A)
3 Set any graphics to Area2D/CollisionShape2D in B
4 Set the AnimationPlayer track in B to disable Area2D/CollisionShape2D
5 Click to restore the graphics in B
1 创建一个场景A,包含 AnimationPlayer 和 Area2D/CollisionShape2D
2 创建场景B(继承场景A)
3 在B中 给 Area2D/CollisionShape2D 设置任意图形
4 在B中的 AnimationPlayer 轨道设置禁用 Area2D/CollisionShape2D
5 点击恢复B中的图形
Minimal reproduction project
testbug.zip
Click bug.tscn Area2D/CollisionShape2D shape restore icon
The text was updated successfully, but these errors were encountered: