"data.tree is null" error

Godot Version

4.3.rc3

Question

Good day, everyone! I’d like to ask for help about this error I’ve been encountering with this plugin “PhantomCamera” (This is a 2D game I’m trying to develop) . The thing is, I have a "master scene, it handles all the scene switching and passing of data, right? And the scene transitioning part is already done, the dissolving animation and all. However, I decided to use the said plugin, installed it and when I set it up on my scene, it gives this error: get_tree: Parameter “data.tree” is null. It always point to my scene_manager script but the error doesn’t occur before the plugin was used.

For context, here’s my scenes and their respective heirarchies along with the scripts I mainly used for this scenario:

Master Scene:
image

Player Bedroom Scene:
image

Scene Transition Scene:
image

Scene Manager Script:

Scene Transition Script:
image

Additional info:

I use these as my autoloads:

1 Like

E 0:00:03:0004 scene_manager.gd:18 @ reference_deffered_change_scene(): Parameter “data.tree” is null.
<C++ Source> ./scene/main/node.h:446 @ get_tree()
scene_manager.gd:18 @ reference_deffered_change_scene()

Here’s the error I was getting.

Hi, I dont know if you had any progress with this but I came across this Github thread

Github

And it looks like it’s an issue with the Phantom camera plugin in Godot 4.3. Last update was 2 weeks back.

It has to do with the “Physics Interpolation” property of your camera, try resetting it or setting it to “on”