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

No baked lights when using asset bundles (multiple scenes)

Discussion in 'Editor & General Support' started by henkjan, Jul 23, 2018.

  1. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    We are on Unity 2017.4.6f1 and facing the same problem not loading LightingData on complete builds (build in Unity Build Cloud). We use multiple scenes. One of the scenes has LightingData. That scene is set to active after loading.

    I've added an image to show the problem.

    Also strange is that first I didn't see any baked spotlights but yesterday a spotlight was visible!? Without changing anything.

    To try to fix it we also changed the Shader stripping Lightmap Modes (in Graphics settings) from Automatic to Custom and turned the appropriate settings on (see screenshot). That didn't help either.

    So I'm lost. What can we do to fix this?
     

    Attached Files:

  2. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    Knowone?
     
  3. henkjan

    henkjan

    Joined:
    Aug 1, 2013
    Posts:
    146
    I think I found the problem and why not many people have problems with this.
    We use a project that can run as a VR game or as a non vr game.
    On the camera there is a property Target Eye. This property needs to disappear when VR is disabled. But sometimes it stays visible (see image attached). Looks like a Unity bug to me!
     

    Attached Files:

    Last edited: Jul 26, 2018