Closed Matt-Murch closed 4 months ago
Facing the same issue, Seems like an issue contained into the Host only. Hot Fix in host script
Thanks for the report and the reproduction project! I can see what you mean.
Normally, I would release a hotfix for this; however, this should already be fixed in the 0.7.2 branch as part of wider internal changes, and seeing this only spams errors and doesn't break anything, I'm inclined to leave it be for now.
Expecting to release 0.7.2 within the next week or so.
Awesome, looking forward to the 0.7.2 release! Thanks for looking into it
Issue description
Having a Phantom Camera Host in any scene causes constant error to be output:
res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd:252 - Invalid call. Nonexistent function 'get_global_transform' in base 'Nil'.
I've tried with and without a phantom camera in the scene and it has the same result.
Steps to reproduce
Add phantom camera to project Add a camera 3D to scene Add a Phantom Camera Host as a child of the camera 3D
or
Add phantom camera to project Add a Phantom Camera Host to scene
(Optional) Minimal reproduction project
PCHErrorReproduction.zip