Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 2017.2.X



Found in


Issue ID




Crash on ApplyMaterialPassWithCache when generating lighting and "Lightmap Static" is enabled

Progressive Lightmapper


How to reproduce:
1. Open attached Unity project"
2. Load scene "01" located in Assets-->cena
3. Wait until crash occurs

Expected result: Light is baking without crash.
Actual result: Unity crashes while generating lighting.

Workaround: In the Hierarchy window select Water-->Water4Advanced-->Tile and disable "Lightmap Static" in the Mesh Renderer. Press Apply in the top of an Inspector window.

Regression first introduced in: 2017.1.0b2
Reproducible with: 2017.3.0a7, 2017.2.0b10, 2017.1.0p5, 2017.1.0b2
Not reproducible with: 5.5.4p4, 5.6.3p2, 2017.1.0b1

* crash should occur after 10-30 sec (2017.1 version). Sometimes it could take longer than that (depends on Unity version).
* Unity also crashes while building scene.

Fixed in: 2018.1.0a1, 2017.2.0p2

Comments (1)

  1. VitorCrote

    Feb 12, 2020 17:00

    Excellent issue! I almost die when I see that i have destroyed my scene, now I got it back! Thank you soo much!

Add comment

Log in to post comment

All about bugs

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