Course name: Godot 4 Multiplayer: Make Your Own Online Game
Lesson #: 4.4 Opening A Door
Error: "invalid set index ‘visible’ (on base ‘null instance’) with value of type ‘bool’"
Hey everyone! My son is currently taking this course and keeps getting the following error under the set_door_properties function on line 15 door_open.visible = is_open.
A little more information from what I can gather. This is a multiplayer game and when he runs it, two windows open where you can host the game/join the game. Everything loads fine and runs as it should, until one player steps on a pressure plate (connected via signal to the door) once stepped on, the door should open, allowing the other player to enter. However, once one of the players steps on the pressure plate, the window with the hosted player freezes and the game crashes, that’s when we receive the aforementioned error.
Not sure why… His code looks exactly like the instructors and his nodes are set up in the same exact orientation.
If you need any additional information in order to help out, please let me know. Any help would be much appreciated. Thank you!