Godot's get_current_scene
can return a nullptr, causing a crash
#796
Labels
Milestone
get_current_scene
can return a nullptr, causing a crash
#796
Describe the bug
The
PropertyGet
,PropertySet
,ShowMessage
, andPrintString
nodes all use theget_tree()->get_current_scene()
API. While we have not seen any issues with its usage in our demos, some users have reported crashes.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Godot full version
No response
Orchestrator version
2.1.1.stable / 2.0.3.stable
Additional information
The workaround appears to use
get_tree()->get_root()
instead.The text was updated successfully, but these errors were encountered: