If I create a new project with the following code in Room1 creation code as expected I get an error message: <undefined>.a not set before reading.
this was expectable, I didn't set the variable.
Now lets create an object... a simple.. empty one:
And lets run again the same project taking a closer look at the error message:
Now the error message says: Object1.a not set before reading it, note that I haven't add an instance of Object1 to the room just yet. It leads me to believe that the Room Creation could be being called from a wrong scope.
THAT'S NOT THE CASE!!
If I add the variable "a" to the Object1 (under Variable Definitions) and place an instance of it inside the room... I still get this error message.. so I guess it's NOT the room code that is being called in the wrong scope is just the error message that is displaying the wrong scope.
Please sign in to leave a comment.