Search Issue Tracker

Active

Votes

0

Found in

2022.3.68f1

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a3

Issue ID

UUM-125416

Regression

No

Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject

-

Reproduction steps:
1. Create a new project
2. Select any GameObject in Hierarchy
3. Add Text Mesh and Cloth Components
4. Observe the Editor

Actual result: Editor crashes
Expected result: Editor does not crash

Reproducible with: 2022.3.68f1, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a3

Reproduced on: macOS Sequoia 15.4 (M4)

Note:

  • Editor doesn't crash if Cloth Component is added first
  • First few lines of stack trace:

{code:java}
#0  0x0000010499f3e0 in PPtr<Mesh>::operator Mesh() const
#1  0x00000106d12854 in Unity::Cloth::EnsureMeshDataUptoDate()
#2  0x00000106d127f8 in Unity::Cloth::GetPositions()
#3  0x00000106d23ae8 in Cloth_Get_Custom_PropVertices(void
, BlittableArrayWrapper&)
#4  0x0000037e7373c0 in  (wrapper managed-to-native) UnityEngine.Cloth:get_vertices_Injected (intptr,UnityEngine.Bindings.BlittableArrayWrapper&) [{0xc5907def8} + 0x68]  (0x37e737358 0x37e737418) [0x17c242a80 - Unity Child Domain]{code}

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.