Closed balloonpopper closed 2 weeks ago
I'm trying to run the following code var FacePosition = R.LockerRoom.get_prop("Shower").position
This fails with the following error on line 304 of popochiu_room.gd:
Cannot call method 'get_nodes_in_group' on a null value.
What appears to be happening is that the get_LockerRoom() function in r.gd is calling get_instance in i_room.gd which runs
return load(load(tres_path).scene).instantiate()
The scene it instantiates isn't in the tree so get_nodes_in_group fails.
I'm confused why it's trying to instantiate the scene though as the scene is already instantiated and running.
Steps to reproduce the behavior:
The prop should be returned.
Hi. Thanks for reporting this! I'm gonna work on a fix right now.
Bug description
I'm trying to run the following code var FacePosition = R.LockerRoom.get_prop("Shower").position
This fails with the following error on line 304 of popochiu_room.gd:
What appears to be happening is that the get_LockerRoom() function in r.gd is calling get_instance in i_room.gd which runs
The scene it instantiates isn't in the tree so get_nodes_in_group fails.
I'm confused why it's trying to instantiate the scene though as the scene is already instantiated and running.
Steps to reproduce
Steps to reproduce the behavior:
Expected vs observed behavior
The prop should be returned.
Environment information (please complete):
Additional context