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
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)
<...>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a7