Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2019.2.10f1

2019.3.0b7

2019.3.0b8

2020.1.0a7

Issue ID

1198661

Regression

Yes

Crash on mono_field_get_type when Add Property in the Animation window has to display a script with Vector2Int type variable

Animation

-

Steps to reproduce:
1. Open the attached project ("1198661.zip")
2. Open Animation window
3. Select GameObject in the Hierarchy
4. Press "Add Property" in the Animation window

Reproducible with: 2019.2.13f1, 2019.3.0b11, 2020.1.0a13
Not reproducible with: 2017.4.35f1, 2018.4.13f1, 2019.2.9f1, 2019.3.0b6, 2020.1.0a6

First 5 lines of the stacktrace:
0x00007FFDAC4E2B42 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\class.c:9744] mono_field_get_type
0x00007FF6F9187ECF (Unity) scripting_field_get_type
0x00007FF6F673EFDD (Unity) UnityEngine::Animation::GetAnimatablePropertyOffset
0x00007FF6F67402FB (Unity) UnityEngine::Animation::GetGenericAnimatablePropertiesRecurse
0x00007FF6F6740398 (Unity) UnityEngine::Animation::GetGenericAnimatablePropertiesRecurse

Note:
- Crash reproduces when there's a script attached to the object being animated, containing a serialized Vector2Int or Vector3Int type variable

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.