Hi, I'm creating a roguelike game with dungeon generation similar to the binding of Isaac, I'm able to create a dungeon trying to fill each room with premade layouts, each room layout is a scene.

I had the idea to store each scene in an array that I pick a random one to instance in the location of each room.


when I do though I get this error code:

Am I missing something simple or is there another way to do what I want? is using scenes the best way to go about creating room layouts?
any help appreciated.