# Black screen with no errors

**URL:** <https://forum.makecode.com/t/black-screen-with-no-errors/43216>\
**Category:** Help\
**Created:** [April 9, 2026, 4:39pm UTC](https://forum.makecode.com/t/black-screen-with-no-errors/43216 "2026-04-09T16:39:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bum/32/22127_2.png) [@BUM](https://forum.makecode.com/u/BUM)\
**Post date:** [April 9, 2026, 4:39pm UTC](https://forum.makecode.com/t/black-screen-with-no-errors/43216/1 "2026-04-09T16:39:39Z")

</div>

> **[Free will - Copy - Copy](https://arcade.makecode.com/S71746-63365-40902-05340)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

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.

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [April 9, 2026, 11:20pm UTC](https://forum.makecode.com/t/black-screen-with-no-errors/43216/2 "2026-04-09T23:20:38Z")

</div>

You might want to check

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/1/41bd1924685e74bc0a693cd4f9269284d80090d4.png)

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.

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [April 9, 2026, 11:22pm UTC](https://forum.makecode.com/t/black-screen-with-no-errors/43216/3 "2026-04-09T23:22:17Z")

</div>

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.
