Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2018.4

2019.4.13f1

2021.1

Issue ID

1288012

Regression

No

Editor crashes on GetChannelIndex when passing null to Mesh.GetBlendShapeIndex

Mesh

-

Reproduction steps:
1. Open the user's attached "GetBlendShapeIndexCrash.zip" project
2. Load the "Crash" scene
3. Select "Crasher" GameObject in the Hierarchy window
4. Right-click on the "Produce Crash" Component in the Inspector window to open the Context menu
5. Click on the "Crash"
-- Observe the crash

Reproduces on: 2018.4.28f1, 2019.4.13f1, 2020.1.11f1, 2020.2.0b9, 2021.1.0a3

First lines of the stack trace:
0x00007FF70FA2A263 (Unity) GetChannelIndex
0x00007FF7104E805F (Unity) Mesh_CUSTOM_GetBlendShapeIndex
0x00000209375829F9 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Mesh:GetBlendShapeIndex (UnityEngine.Mesh,string)
0x00000209375827EB (Mono JIT Code) [D:\Downloads\case_1288012-GetBlendShapeIndexCrash\Assets\ProduceCrash.cs:10] ProduceCrash:Crash ()
0x00000209374CD1A8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
<...>

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0a7

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.