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
- "Assertion failed on expression" errors appear when selecting specific Tile Palette GameObjects
- “CommandBuffer: built-in render texture type 3 not found while executing” warning is displayed in URP project
- Player build logs a "material with shader doesn't have a '_MainTex' property" error when instantiating a specific amount of specific prefabs
- The LayerMask parameter is ignored when using Physics2D.GetRayIntersection method
- The Tilemap GameObject causes other Tilemap GameObjects to become invisible when its “Mask Interaction” is set to “Visible Inside Mask”
Add comment