Search Issue Tracker

Fixed in Unity 2018.3



Found in


Issue ID




Assertion '(srcInfo.GetChannelMask() & copyChannels)==copyChannels' after marking mesh without lightmaps UVs as lightmap static

Global Illumination



Priority: 2Necessary for shipping a final release


Severity: 1Crash, freeze, data loss, work stops

Steps to repro:

1. Open attached project and 't1' scene;
2. Drag prefab 'Cube_3-materials' (having no lightmap UVs) from the Project folder to the Hierarchy;
3. In the Inspector mark 'Cube_3-materials' gameobject as 'Static'.

Actual result:
Assertion '(srcInfo.GetChannelMask() & copyChannels)==copyChannels' is thrown. See attached video.
Regression introduced in Unity 2018.1.0a1.

Expected result:
No assertion are thrown after marking gameobject with mesh having no lightmap UVs as static.

- Reproducible in 2018.2.0b1, 2018.1.0f1, 2018.1.0a1;
- Not reproducible in 2017.4.1f1, 2017.2.2p4 .
- Reproducible only for mesh having no lightmap UVs; not reprorducible if lightmap UVs have been generated automatically for the mesh.

Comments (2)

  1. 8dbc395c10bb4078741d5c9e00133eed?d=mm


    Sep 28, 2018 21:55

    I'm facing this issue, worked around using 'Auto Generate Lightmaps UV' in the import settings, But I'm facing NavMesh causing Unity to crash when trying to Bake the models. Do the two bugs relate?

    Version 2018.2.1f1

  2. 66f17332670efadd5d4afcf0bf3adf15?d=mm


    Aug 07, 2018 13:10

    Still present in 2018.2.2f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.