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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment