Search Issue Tracker

In Progress

Fixed in 6000.3.5f1, 6000.5.0a2

Fix In Review for 6000.4.0b2

In Progress in 6000.5.X

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

Mesh

-

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)

  1. Resolution Note (fix version 6000.5.0a2):

    Fixed in 6000.5.0a2

  2. Resolution Note (fix version 6000.3.5f1):

    Fixed in 6000.3.5f1

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.