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. Dismiss Notice

Global Illumination stuck at Indirect light calculations

Discussion in 'Editor & General Support' started by nasos_333, Mar 5, 2015.

  1. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,842
    Hi,

    I had this issue in both RC3 and the public release, the GI will get stuck in 12/15 Indirect light calculations and take up both my CPUs fully without turning a result or finishing.

    I left it 1 day to see if it is just that slow, but it is only a cube, asphere, some butterflies and water4 sample, so it is probably a bug.

    Is there any way to work around it ? Anyone experience similar problem ?

    Thanks
     
  2. Anozireth

    Anozireth

    Joined:
    Feb 7, 2013
    Posts:
    71
    Post a screenshot of your lighting settings. Your indirect/realtime resolution is probably too high.
     
  3. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,842
    GI i get to see when it gets stuck (causes hang ups since it still calculates, never finishes calcs in Indirect)





    Lighting settings


    Thanks for the help.I use the default settings. I post a pic above.

    I have the cube and sphere with lightmap clicked and continuous baking on.

    Even when stuck, i do get to see GI, but i get pauses in play mode. Plus i cant create a demo or save the result, it starts all over when the scene is loaded.
     
  4. Anozireth

    Anozireth

    Joined:
    Feb 7, 2013
    Posts:
    71
    I would try way smaller resolutions to start. The resolutions seemed to have the largest impact on bake time from what I've found. I think it depends on the scale of objects in your project, but try something like Baked Resolution of 1 and Realtime Resolution of .01, and see how long it takes and how it looks, and then ramp up from there. The defaults seem to be way too high. It's much easier to set it too low, have it finish in a couple minutes, and iterate on it from there.
     
  5. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,842
    Thanks, i will try with those and see if it gets unstuck.