-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
3DIssues concerning 3D scenesIssues concerning 3D scenesbugSomething isn't workingSomething isn't workingphantom cameraRelated to PhantomCamera nodesRelated to PhantomCamera nodes
Milestone
Description
Issue description
Hi there, thanks for maintaining this library,
Using Godot 4.4, and the latest PhantomCamera version 0.8.2.3
Setting a breakpoint near a variable containing a PhantomCamera3D and then trying to inspect the variable triggers nil errors, making it impossible for me to debug with the plugin.
I had to rewrite many getters with a check for camera_3d_resource
:
func get_v_offset() -> float:
if !camera_3d_resource:
return 0.0
return camera_3d_resource.v_offset
Steps to reproduce
Create a breakpoint anywhere in a piece of code that contains a PhantomCamera3D variable.
In the debugger, try to inspect the camera object,
an "Invalid access to property or key .... on a base object of type 'Nil'" is thrown
(Optional) Minimal reproduction project
No response
Metadata
Metadata
Assignees
Labels
3DIssues concerning 3D scenesIssues concerning 3D scenesbugSomething isn't workingSomething isn't workingphantom cameraRelated to PhantomCamera nodesRelated to PhantomCamera nodes
Projects
Status
✅ Done