godotengine/godot

Crash In Node3DEditorViewport Selecting On Empty Scene

TokisanGames opened this issue · 0 comments

Tested versions

Crashes in

  • 4.2.2-stable
  • 4.3.1-beta1

System information

Windows 11/64, RTX 3070, Vulkan

Issue description

When certain plugins are installed, the user has no scenes open, and they do a box selection on the empty viewport, Godot crashes in Node3DEditorViewport.

Downstream bug report

4.2.2 debug
You can see in the watch list edited_scene is null, and the code never checks for that.

image

4.3 crash

================================================================
CrashHandlerException: Program crashed with signal 11
Engine version: Godot Engine v4.3.beta1.official (a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] error(-1): no debug info in PE/COFF executable
[2] error(-1): no debug info in PE/COFF executable
[3] error(-1): no debug info in PE/COFF executable
[4] error(-1): no debug info in PE/COFF executable
[5] error(-1): no debug info in PE/COFF executable
[6] error(-1): no debug info in PE/COFF executable
[7] error(-1): no debug info in PE/COFF executable
[8] error(-1): no debug info in PE/COFF executable
[9] error(-1): no debug info in PE/COFF executable
[10] error(-1): no debug info in PE/COFF executable
[11] error(-1): no debug info in PE/COFF executable
[12] error(-1): no debug info in PE/COFF executable
[13] error(-1): no debug info in PE/COFF executable
[14] error(-1): no debug info in PE/COFF executable
[15] error(-1): no debug info in PE/COFF executable
[16] error(-1): no debug info in PE/COFF executable
[17] error(-1): no debug info in PE/COFF executable
[18] error(-1): no debug info in PE/COFF executable
[19] error(-1): no debug info in PE/COFF executable
[20] error(-1): no debug info in PE/COFF executable
[21] error(-1): no debug info in PE/COFF executable
[22] error(-1): no debug info in PE/COFF executable
[23] error(-1): no debug info in PE/COFF executable
[24] error(-1): no debug info in PE/COFF executable
[25] error(-1): no debug info in PE/COFF executable
[26] error(-1): no debug info in PE/COFF executable
[27] error(-1): no debug info in PE/COFF executable
-- END OF BACKTRACE --
================================================================
Segmentation fault

Steps to reproduce

  • Create a new project.
  • Download certain plugins like ours which meets the conditions needed: terrain3d_0.9.1-beta.zip.
  • Copy the addons folder into the new project.
  • Open Godot, allow it to restart to init the plugin.
  • In Project settings enable the plugin.
  • With no scenes open, click in the viewport and draw a box. Upon releasing the mouse Godot will crash.

Minimal reproduction project (MRP)

see above.