Search Issue Tracker

Duplicate

Votes

1

Found in

2018.4

2019.4

2020.2

2020.2.1f1

2021.1

2021.2

Issue ID

1308885

Regression

No

Unity crashes when trying to bake a lightmap with a specific mesh

Progressive Lightmapper

-

How to reproduce:
1. Open the attached project (case_1308885-DesaSejijak_simplified)
2. Go to Window > Rendering > Lighting
3. Click Generate Lighting
4. Wait for the Editor to crash

Expected result: The Editor does not crash
Actual result: The Editor crashes

Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a3

Notes:
1. Behaviour changes on versions 2020.2.2f1 and higher. The Console will spam errors and the expected time of the baking process keeps increasing but the Editor does not crash. Errors spammed by the console:
Line 215 in Wintermute::Geometry::Verify - Geometry geom 3ce403786880aa32a4a01df57fbe8011: Index 303 has value 145 that reads non-finite value -nan(ind) in channel 4, element 0
Line 229 in Wintermute::Geometry::Verify - Geometry geom 3ce403786880aa32a4a01df57fbe8011: 496 components out of 11700 total are non-finite
[PathTracer] Failed to add geometry for mesh 'Mesh527-POLY_REDUCED'; mesh contains non-finite values.
2. Crash does not occur with the Enlighten Lightmapper

Comments (2)

  1. damnSimpleGames

    Apr 10, 2021 16:59

    I got this error today with unity 2020.3.2.f1

  2. Vaupell

    Feb 18, 2021 22:02

    I started getting this today, aswell.. Unity 2020.2.2f1.

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.