[C#] Ninject: SceneTree does not contain reference to current scene after being injected

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Aemilius

I’m trying to utilize Ninject for creation of objects (They are not inheriting from godot classes) that will manipulate SceneTree and current scene, but when I’m creating an instance of such object, SceneTree’s CurrentScene property is becoming null out of the blue.
Can it be somehow handled or is it some fundamental issue?