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

Light probes become dark when loading a scene.

Discussion in 'Global Illumination' started by MikkoK-HS, Oct 22, 2020.

  1. MikkoK-HS

    MikkoK-HS

    Joined:
    Sep 26, 2017
    Posts:
    53
    Hi

    I'm having a problem using both baked and realtime global illumination. When I bake a scene in editor, the light probes work fine. However, when I load another scene in editor and then come back to the scene I just baked, the light probes are much darker. The same thing happens in play mode. The light probes seem to forget about the realtime gi and only sample baked gi. What is causing this?

    Huomautus 2020-10-21 083616.png Huomautus 2020-10-21 083654.png
     
  2. Pema-Malling

    Pema-Malling

    Unity Technologies

    Joined:
    Jul 3, 2020
    Posts:
    307
    You seem to be observing this issue https://issuetracker.unity3d.com/is...y-mode-when-baked-and-realtime-gi-are-enabled, which has unfortunately been closed as Won't Fix. If this is blocking you, and you can't work around it, feel free to submit an issue.

    Quoting @kristijonas_unity: "One of the workarounds is to use either realtime GI, or baked GI - not both. Alternatively, if you absolutely need to have both realtime GI and baked GI enabled, then switch your lightmapping backend to Enlighten.".

    Some more info here:
    https://forum.unity.com/threads/rt-gi-and-light-probes-issue.642193/
    https://forum.unity.com/threads/some-light-probes-dark.636532/
     
    kristijonas_unity likes this.
  3. MikkoK-HS

    MikkoK-HS

    Joined:
    Sep 26, 2017
    Posts:
    53
    My problem is that I need to change materials on objects in the scene and that needs to be reflected in lighting. Realtime GI seems to be the only solution for that. I know I could bake different lightmaps for different material combinations and swap them on demand but there would just be too many combinations, the size of the project and bake times would be ridiculous. I guess I'll just stick to enlighten only for now. Progressive lightmapper just seems to be faster and produce better quality.

    Is this something that will be fixed with whatever the replacement for enlighten realtime gi will be?
     
  4. Pema-Malling

    Pema-Malling

    Unity Technologies

    Joined:
    Jul 3, 2020
    Posts:
    307
    Considering that this is a bug related to Enlighten, it is highly unlikely that our replacement will have the same issue. We have chosen not to prioritize fixing this because of the upcoming Enlighten deprecation, and since there are some workarounds.
     
    MikkoK-HS likes this.