var _scene_instance = get_parent()
var _scene_children = get_children()
assert(_scene_instance != null, "Must not be orphan.")
print_debug(_scene_instance)
if _scene_instance != null:
pass
If statement comes back true but when placing a breakpoint at pass and hovering over the variable _scene_instance, it is null. I would expect it to show error 'Must not be orphan.' but the debugger shows that it exists in the scene tree with a parent available.
print_debug actually works and confirms it has a value.
Best regards,
Oliver