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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

GI not working in Play Mode

Discussion in 'Global Illumination' started by Vancete, Apr 12, 2016.

  1. Vancete

    Vancete

    Joined:
    May 3, 2010
    Posts:
    198
    I'm having troubles with GI in play mode, it works fine at editor:



    But if I press play, then this happens:



    I'm using Photon too, if I do the test without connecting to Photon all works correctly.

    Any idea? Thanks
     
  2. pahe

    pahe

    Joined:
    May 10, 2011
    Posts:
    541
    Are you loading level, prefabs or anything after connecting to the network? You have to work around a bit if you want to have lightmapped scenes from assetbundles or prefabs.
     
  3. Vancete

    Vancete

    Joined:
    May 3, 2010
    Posts:
    198
    Yes, I do. I load the player prefab after get connected.

    Anyway I only need realtime GI, not lightmapping.