Search Issue Tracker

Active

Planned for 2019.4, 2020.1, 2020.2

Votes

0

Found in

2019.4

2019.4.13f1

2020.2

2021.1

Issue ID

1292526

Regression

No

Crash on SkinnedMeshRendererManager::RemoveRenderer(SkinnedMeshRenderer&) when exiting Play Mode

Mesh Renderer

-

How to reproduce:
1. Download the attached 'naquera-unity.zip' and 'unity-common.zip' and make sure they are in the same directory
2. Remove 'case_1292526-' prefix from the 'unity-common.zip' folder
3. Open 'naquera-unity' project
4. Enter Play Mode
5. Exit Play Mode
6. Observe the crash

Reproducible with: 2019.4.15f1, 2020.1.14f1, 2020.2.0b12, 2021.1.0a6
Could not test with: 2018.4.29f1 (because of the errors when downgrading)

Few lines from the macOS stacktrace:
#0 0x00000108cac094 in SkinnedMeshRendererManager::RemovePreparedInfo(int)
#1 0x00000108cac755 in SkinnedMeshRendererManager::RemoveRenderer(SkinnedMeshRenderer&)
#2 0x00000107439f9a in Renderer::Deactivate(DeactivateOperation)
#3 0x000001075833f6 in SkinnedMeshRenderer::Deactivate(DeactivateOperation)
#4 0x00000106df2047 in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
#5 0x00000106df1ee6 in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)

Notes:
- Full stacktrace is attached in Edit
- Crash is reproducible on macOS, iOS, macOS player

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.