Search Issue Tracker
Fixed in 2020.1
Fixed in 2017.4, 2018.4, 2019.2, 2019.3
Setting EditorCurveBinding.type to a custom component bind to "MonoBehavior" instead of the derived class
How to reproduce:
1. Open the project
2. Open the "SampleScene" scene
3. Windows > Animation > Animation
4. Select testProperties in the Hierarchy
5. Reimport the "testProperties" prefab
6. Notice that the "Take 001" animation has pCube:MonoBehavior.Properties._0 properties
Actual result: The EditorCurveBinding.type gets set to MonoBehaviour.
Expected result: The EditorCurveBinding.type is set to FloatProperty (derived from MonoBehaviour).
Reproducible with: 2020.1.0a15, 2019.3.0f1, 2019.2.15f1.
- The custom binding is assigned in AssetImporter.cs at OnPostprocessGameObjectWithAnimatedUserProperties callback.
- Can't test 2018.4 and 2017.4 because the animation gets corrupted.
Fixed in 2020.1.0a17.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- 'Can't add script' pop-up warns about abstract classes when dragging static classes onto GameObjects
- [Hub] Project "Remove from list" option is behind notifications when selecting the most bottom project in the list
- [Android][Vulkan] Black Screen renders on devices with Adreno 640 and Mali GPU's
- Sound/Audio is played when the VideoPlayer's attached AudioSource game object is disabled
- A Parser Failure error is thrown after importing a specific Animation file to a Unity project