Search Issue Tracker
Fixed
Fixed in 6000.3.5f1, 6000.4.0b2, 6000.5.0a2
Votes
0
Found in
6000.2.8f1
6000.3.0b6
6000.4.0a2
6000.5.0a1
Issue ID
UUM-122236
Regression
No
Crash on CalculateNormals when MeshLodUtility.GenerateMeshLods() procedural mesh custom vertex attribute data set is using half4 for vertex positions
Reproduction steps:
1. Open the attached user's project ("MeshLOD-BugReport")
2. Open scene "Scenes -> SampleScene"
3. Enter Play mode
Expected result: The mesh is procedurally generated and the Editor enters Play mode
Actual result: The Editor crashes
Reproducible with: 6000.2.0a7, 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Couldn't test with: 2023.1.0a1, 6000.0.60f1, 6000.2.0a6 (MeshLodUtility is not available)
Reproducible on: Windows 10 (User), Windows 11
Not reproducible on: No other environment tested
Stacktrace:
0x00007FF9C145849B (Unity) CalculateNormals
0x00007FF9C30D70B8 (Unity) MeshLod::GenerateMeshWeldingHelperData
0x00007FF9C30D3EDA (Unity) MeshLod::BuildClusterLodMeshFromMesh
0x00007FF9C30D3CD7 (Unity) MeshLod::BuildAndApplyClusterData
0x00007FF9C0E5F96C (Unity) MeshLodUtility_CUSTOM_Internal_GenerateMeshLodsEditor
0x000002327B51CE58 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.MeshLodUtility:Internal_GenerateMeshLodsEditor_Injected (intptr,UnityEditor.MeshLodUtility/LodGenerationFlags,int)
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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
Editor: Updated MeshLOD generator to work with any vertex format in the input mesh. Previously, unexpected formats like Float16 positions could result in incorrect LOD generation or crashes.
Resolution Note (fix version 6000.5.0a2):
Editor: Updated MeshLOD generator to work with any vertex format in the input mesh. Previously, unexpected formats like Float16 positions could result in incorrect LOD generation or crashes.
Resolution Note (fix version 6000.5.0a2):
Fixed in 6000.5.0a2
Resolution Note (fix version 6000.3.5f1):
Fixed in 6000.3.5f1