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
-
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
This is a duplicate of issue #1263058