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
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)
-
damnSimpleGames
Apr 10, 2021 16:59
I got this error today with unity 2020.3.2.f1
-
Vaupell
Feb 18, 2021 22:02
I started getting this today, aswell.. Unity 2020.2.2f1.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
This is a duplicate of issue #1263058