Lighting issue with main menu scene


Author: Aaronn Solomon

Posted on 10/26/2023


The Problem

I decided to make the main menu of our game a little more substantial than what it has been. I created a simple room with the canvas in front of the player, but it was too dark to see anything other than that canvas. In an attempt to fix this, I tried to add a light source in the middle of the room, but no matter what I tried, it never lit up the room.


The Solution

This is a little embarrassing to admit but I eventually found my solution. After trying multiple different solutions I found online and getting nowhere, I discovered a small button at the top of the scene window of the Unity Editor. It had a symbol of a lightbulb that had been crossed out. Surprisingly, clicking this button changed the symbol to erase the line struck through the lightbulb, and the room was lit up like Christmas. Apparently, this button is there to toggle on/off the lighting in a scene. I'm glad I found that out, even if it took some time!