Describe the bug
When an object in a scene is freed (due to scene change) the attached Data Controller causes a crash.
Error
Attempt to call function 'get' in base 'previously freed' on a null instance.
Stack Trace
0 res://addons/panku_console/modules/data_controller/exporter/exporter_2.gd :122
Code line
row.update_ui(obj.get(prop_name))
To Reproduce
Steps to reproduce the behavior:
Create a project with 2 scenes
Run one of the scenes
Open Panku console and open a data controller for a node in the scene current.get_node("MyNode")
Go to a different scene
See error (Godot Debugger)
Expected behavior
Data Controller changes output to a notification such as "Missing node" , without interrupting the flow.
Additional context
A simple check for the existence of obj in the update_rows() function will prevent the crash.
I am very new to PankuConsole, maybe I am using it incorrectly?
Describe the bug When an object in a scene is freed (due to scene change) the attached Data Controller causes a crash.
Error Attempt to call function 'get' in base 'previously freed' on a null instance. Stack Trace 0 res://addons/panku_console/modules/data_controller/exporter/exporter_2.gd :122 Code line row.update_ui(obj.get(prop_name))
To Reproduce Steps to reproduce the behavior:
current.get_node("MyNode")
Expected behavior Data Controller changes output to a notification such as "Missing node" , without interrupting the flow.
Additional context A simple check for the existence of obj in the update_rows() function will prevent the crash. I am very new to PankuConsole, maybe I am using it incorrectly?