- Edited
At the top of a script, I'm exposing a packed scene in the inspector, like so:
export (PackedScene) var my_instance
Then, as per normal, I am populating the variable's inspector field with a valid TSCN file.
But then, in my _ready() function, when I try to access the my_instance variable, I get an error indicating that it is Null value.
I'm using this same script pattern in other scripts on other nodes without issue where it works just fine. It's a very common pattern, as you know.
So, why, oh , why, does this one occurrence not want to work?
Anyone see this before?