Search Issue Tracker

Duplicate

Votes

0

Found in

5.6.0b6

Issue ID

874964

Regression

Yes

Cloth with unassigned renderer mesh crashes editor

Physics

-

A cloth component with no mesh assigned in the skinned mesh renderer component causes editor crash in "Unity::Cloth::CreateRecreateIfNecessary" when GUI is updated.

Stack trace:
0x0000000140A01869 (Unity) Unity::Cloth::CreateRecreateIfNecessary
0x0000000140C9FF8F (Unity) SkinnedMeshRenderer::PrepareSkinClothMainThread
0x0000000140CA1A10 (Unity) SkinnedMeshRendererManager::PrepareAllSkinClothMainThread
0x00000001409FD7E3 (Unity) BeginUpdateCloths
0x00000001409FD857 (Unity) BeginUpdateCloths
0x0000000140D65247 (Unity) PlayerLoop
0x0000000141701DAE (Unity) Application::UpdateScene
0x000000014170358F (Unity) Application::UpdateSceneIfNeeded
0x000000014170BBFB (Unity) Application::TickTimer
0x00000001417D5A4C (Unity) CrashCallback
0x00000001417D7694 (Unity) WinMain
0x0000000141ABAEDC (Unity) strnlen
0x00007FFDE3B28364 (KERNEL32) BaseThreadInitThunk
0x00007FFDE46270D1 (ntdll) RtlUserThreadStart

Repro steps:

1) Open attached project and scene "Scene"
2) Click anywhere and observe crash

Reproduced in 5.6.0b6
Not reproducible in 5.5.x

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.