Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

[0.5.3] Lightmap on prefab instances broken

Discussion in 'Addressables' started by mosowskitsg, Feb 12, 2019.

  1. mosowskitsg

    mosowskitsg

    Joined:
    Oct 2, 2018
    Posts:
    1
    Hello,

    I'm using 0.5.3 Addressables, generally package works great, it's awesome, however, I encountered a problem with lightmaps. They work until I use prefab instance on the level. On prefab instances lightmaps are black (incorrect, depending on lightmap mode and shader).

    When I break prefab instance / unpack prefab and generate lightmap again problem goes away.

    I'm testing it on android devices. Reproduced both on 2018.2 and 2018.3. Screenshots attached. Here is project with bug isolated:

    https://bitbucket.org/mosowski/unity_addressables_lightmap_bug/src/master/
     

    Attached Files: