You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My 2D project is experiencing a continuous crash on open, believed to be due to a corrupted scene. The crash occurs immediately upon opening the project.
Steps to reproduce
Created custom resource to store ProjectileData
Created a custom Projectile which extended CharacterBody2D, which had @export var stats: Resource which was the ProjectileData above
Created a PlayerBeam which extended Projectile
Attempted to add a Timer node to the base Projectile, but encountered issues starting the Timer
Removed the Timer node from Projectile and its connected signal functions
Added the Timer node to PlayerBeam instead
Attempted to create a new inherited scene from player_beam.tscn (PlayerBeam), which resulted in a crash
Stack trace found in console:
Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.3.280 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3080
<Resource#-9223370267546291730>
ERROR: Cannot get path of node as it is not in a scene tree.
at: (scene/main/node.cpp:2257)
ERROR: Condition "!is_inside_tree()" is true. Returning: false
at: can_process (scene/main/node.cpp:835)
ERROR: Nonexistent signal: editor_description_changed.
at: (core/object/object.cpp:1441)
ERROR: In Object of type 'Object': Attempt to connect nonexistent signal 'editor_description_changed' to callable 'Scen.
at: (core/object/object.cpp:1390)
ERROR: Node not found: "" (relative to "/root/@EditorNode@16886/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitL.
at: (scene/main/node.cpp:1792)
ERROR: Cannot get path of node as it is not in a scene tree.
at: (scene/main/node.cpp:2257)
ERROR: Condition "!is_inside_tree()" is true. Returning: false
at: can_process (scene/main/node.cpp:835)
ERROR: Nonexistent signal: editor_description_changed.
at: (core/object/object.cpp:1441)
ERROR: In Object of type 'Object': Attempt to connect nonexistent signal 'editor_description_changed' to callable 'Scen.
at: (core/object/object.cpp:1390)
ERROR: Cannot get path of node as it is not in a scene tree.
at: (scene/main/node.cpp:2257)
ERROR: Condition "!is_inside_tree()" is true. Returning: false
at: can_process (scene/main/node.cpp:835)
ERROR: Nonexistent signal: editor_description_changed.
at: (core/object/object.cpp:1441)
ERROR: In Object of type 'Object': Attempt to connect nonexistent signal 'editor_description_changed' to callable 'Scen.
at: (core/object/object.cpp:1390)
ERROR: Node not found: "" (relative to "/root/@EditorNode@16886/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitL.
at: (scene/main/node.cpp:1792)
================================================================
CrashHandlerException: Program crashed with signal 11
Engine version: Godot Engine v4.3.stable.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8)
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
-- END OF BACKTRACE --
================================================================
Minimal reproduction project (MRP)
Open the project.
Project should open normally
If you double click player_beam.tscn in the godot editor FileSystem, the project will promptly crash
Subsequent attempts to open the project will immediately crash
As a workaround, I can delete the contents of my .godot folder to reopen the project successfully. But trying to open the player_beam.tscn will bring back the crashes.
I can reproduce it. This is caused by deleting the scene root in the tool script. It is an edge case. Some update methods do not take this into account.
When setting the scene root, we may also need to consider connecting and disconnecting the node's tree_exited signal.
Tested versions
v4.3.stable.official.77dcf97d8
System information
Windows 10 - Godot 4.3 stable - Vulkan 1.3.280 - Forward+
Issue description
My 2D project is experiencing a continuous crash on open, believed to be due to a corrupted scene. The crash occurs immediately upon opening the project.
Steps to reproduce
ProjectileData
Projectile
which extendedCharacterBody2D
, which had@export var stats: Resource
which was theProjectileData
abovePlayerBeam
which extendedProjectile
Timer
node to the baseProjectile
, but encountered issues starting theTimer
Timer
node fromProjectile
and its connected signal functionsTimer
node toPlayerBeam
insteadPlayerBeam
), which resulted in a crashStack trace found in console:
Minimal reproduction project (MRP)
player_beam.tscn
in the godot editor FileSystem, the project will promptly crashmrp_nonexistent_signal_after_create_inherited.zip
The text was updated successfully, but these errors were encountered: