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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
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