Search Unity

On Mobile, Lightmap in scene loaded from asset bundle is not visible.

Discussion in 'Editor & General Support' started by roger-yoo, Aug 9, 2017.

  1. roger-yoo

    roger-yoo

    Joined:
    Oct 26, 2014
    Posts:
    8
    I am using Unity 5.6.2p4.
    The scene (.unity) and lightmap are stored in separate asset bundles and are normally downloaded.
    It looks normal in the editor, but it is not visible on the iPhone.
    I tried changing the "Lightmap Modes" in the Graphic Setting,
    but the results are the same. I changed "Instancing Variabnts" to Keep All,
    but it is the same.
     
    saybor likes this.
  2. saybor

    saybor

    Joined:
    Jan 29, 2015
    Posts:
    5
    Same problem.
    If loading scene from asset bundle - lightmap not working on mobile.
    I've check everything - lightmap textures and data loading okay.
    It looks like shader problem, because if use "Mobile Diffuse" - lightmap is working, if use any other (custom or Unity built-in) - lightmap not working.
     
  3. jayceefun

    jayceefun

    Joined:
    Oct 24, 2014
    Posts:
    2
    yeah, i got this problem too. I think you guys should put the lightingdata you baked in a Editor folder, try again. It's worked for my project.
     
  4. orkungo

    orkungo

    Joined:
    May 3, 2014
    Posts:
    62
    Anyone came out with a solution? I am struggling with the same problem on 2017.1.0f3..
     
    Last edited: Jan 12, 2018
  5. mr_zog

    mr_zog

    Joined:
    Jan 21, 2014
    Posts:
    165