Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.3.0f1
Issue ID
747222
Regression
Yes
NullReferenceException when calling Animation Event which uses not supported function
Steps to reproduce:
1. Open attached project:
2. Open scene "Scene"
3. Select "GameObject" in hierarchy and open animation window to view its animation
4. Notice that there is Animation Event at 0:05 mark
5. Right click on it and open Edit window
6. Notice "Function Not Supported"
7. Run scene and notice NullReferenceException: Object reference not set to an instance of an object thrown in console
Regression introduced in: 5.3.0f1 (b948b362cb65)
Expected behaviour: Prior to regression the following message was printed in console: "Failed to call AnimationEvent MyFunction of class EventReceiver. The function must have either 0 or 1 parameters and the parameter can only be: string, float, int, enum, Object and AnimationEvent."
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color property '_BaseColor' missing
- Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
- Sky does not get rendered when 'CameraRelativeRendering' is disabled
- Dropdown UI elements have their Content misplaced when nested inside a Prefab containing a root object with a Canvas Component
- “'UnityMetaVertexPosition': implicit truncation of vector type" Shader warning when compilating URP ShaderGraph shaders
Add comment