Search Issue Tracker
Fixed in 2018.1.X
Votes
1
Found in
2017.1.0f3
Issue ID
945346
Regression
No
Irrelevant warning message when using Animator.Play on a disabled object's animator
To reproduce:
1. Download and open attached "BugReport.zip" project.
2. Open "Scene" scene.
3. Enter Play mode.
4. Press A on keyboard to trigger animation.
5. Notice the console window.
Expected result: Console throws more descriptive warning. Since Animator does have a controller and it is only disabled, it should say that object with the animator is disabled or some other more descriptive information.
Actual result: Console throws irrelevant warning. It says that "Animator does not have an AnimatorController" when in fact it does have one, simply the object is disabled.
Reproduced with: 2017.3.0a7, 2017.2.0b10, 2017.1.1f1, 5.6.3p2, 5.5.4p4.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The sidebar reopens when Unity Hub is started when Unity Hub was closed with the sidebar closed
- Characters are invisible in the TextField when certain Japanese characters are used
- "InvalidOperationException" is thrown when using Prefab > Replace to replace a Canvas GameObject with a Prefab that has an incompatible root Transform type
- Looping AudioSource resumes from the wrong playback position when the app is backgrounded and resumed on iOS Safari
- "AnyState Transition Created" action can be undone when pressing "Auto Generate Animation" on the uGUI GameObjects
Add comment