Black screen with no errors

the game was fine until I added the “make rooms” function and now it just gives me a black screen but there are no errors in the code.

1 Like

You might want to check

I placed a break there.

Without it, the screen is black, with it, it works.

Make sure the condition eventually becomes false, so we don’t get into an infinite loop of darkness.

If your using the raycast extension it automatically sets the engine to use 3D. That’s why your screen is black if so. Other than that, I’m not sure as I can’t access your project right now.