Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question why is my lighting too dark when it is played?

Discussion in 'Global Illumination' started by Kobayashii0405, Dec 4, 2022.

  1. Kobayashii0405

    Kobayashii0405

    Joined:
    Sep 3, 2022
    Posts:
    1
    normal scene:
    upload_2022-12-4_11-34-37.png

    but when it is played:
    upload_2022-12-4_11-35-18.png

    i haven't change anything with the lightings and directional lights I just leave it as default
     
  2. Pema-Malling

    Pema-Malling

    Unity Technologies

    Joined:
    Jul 3, 2020
    Posts:
    307
    Hey. How are the black objects being lit? Light probes or lightmaps? Just realtime lights? Environment lighting?

    If you aren't sure what I am asking about here, just select one of the black object, like the road, and show a screenshot of how the inspector looks.

    Looking at your scene, my guess is that you are using environment lighting as the primary light source, but the environment lighting is for some reason missing in playmode. I'd suggest doing a manual bake (Window > Rendering > Lighting > Generate Lighting), might wanna lower the settings and/or disable some stuff if you don't want lightmaps, though.