Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Realtime GI not working properly in build

Discussion in 'Global Illumination' started by Polkatuba, Jun 7, 2016.

  1. Polkatuba

    Polkatuba

    Joined:
    Oct 31, 2014
    Posts:
    79
    Hello,

    I'm having problems with realtime GI. When I play the game within the unity editor, everything looks as expected. But when I run the same game as a standalone build, the pre-computed realtime GI lightmaps seem to be (at least partially?) missing.

    Please see the pictures of two different scenes:

    lightmapproblem.jpg lightmapproblem2.jpg

    The game is using realtime lighting/shadows with pre-computed realtime GI. I have noticed this issue with Unity 5.3.3f1 - 5.3.5f1. If it has been longer than that, I'm not sure. Rebuilding lighting doesn't make difference. The problem seems to be just the standalone build.

    Is this a know bug or some other problem?

    Thanks
     
  2. Polkatuba

    Polkatuba

    Joined:
    Oct 31, 2014
    Posts:
    79
    There is more...

    I tried to make a new test scene concerning this issue. This time, when making a build, a bunch of error messages pop up at the console:

    "GI output for inputsystem: 18d54b2c9bb5a4ee67c1897e2fdc3dc6 (b0a0aaa9091f0dd302aae32f188a5fa9) is missing."

    "Error adding Enlighten system data: a8787eb241c7ff2894f32099149c260c. RadiosityData is missing."

    and so on...

    These errors don't appear every time I make a build. But regardless of that, some lightmaps seem to be always missing when running the build. Please see the images.

    error1.jpg error2.jpg

    I cannot believe I'm the only one experiencing these issues?
    Feedback would be appreciated.
     
  3. ErThu

    ErThu

    Joined:
    Jul 1, 2015
    Posts:
    4
    I had the exact same problem. I think I just fixed it by running Unity as Administrator. The warnings still show up but the Realtime GI works in the build.
     
  4. Polkatuba

    Polkatuba

    Joined:
    Oct 31, 2014
    Posts:
    79
    Thank you very much for replying. Unfortunately for me the admin didn't make difference. Did you also rebuild your lightmaps while running unity as admin?
     
  5. MR_asilva

    MR_asilva

    Joined:
    Oct 23, 2015
    Posts:
    13
    We are experiencing this same issue in 5.5.1. Were you able to find a solution?