I have made a maze-making script and it starts by making a grid of cells that i have made. each cell is a floor and 4 walls parented to the cell.
in studio, everything works perfectly as expected, creating the grid, then the maze.
When I play the game using roblox however, I see the floor made from the cells appear, but the walls are missing. the script then errors because the walls dont exist and are nil.
I have tried parenting the cell into a model and printing the walls when they are being cloned and placed. I can only tell that they first exist when they are being placed, but then disappear when going to the next stage of making the maze.
expected: (what happens in studio)
what i get: (size of the plate doesnt matter, the lack of walls does)
Any help or suggestion to debug this would be appreciated because I don’t know how to deal with in-game only problems.