I have a class file that gets loaded up via Autoload.
class_name logic
I'm trying to load a GUI scene, I constructed, from the autoload.
guiRadialScene = load("res://Scenes/Gui/Radial.tscn")
RootNode.add_child(guiRadialScene)
It shows up as [PackedScene:1392] or whatever..
But when I go to add the child to the root node i get this error :
RootNode.add_child(guiRadialScene)
Invalid type in function 'add_child' in base 'Viewport'. The Object-derived class of argument 1 (PackedScene) is not a subclass of the expected argument class.
I have NO IDEA what the heck that means.. I tried looking this error up and google'd it.. but zilch.
Any suggestions please?