- Home /
Set Animator Controller to player.
So my players Animator component has a Controller that has no controller set to it. Unity wont let me drag and drop the controller onto it onto the Controller. It also throws this error when I walk: "Animator is not playing an Animator Controller".Here is the character code:![alt text][1]
Character Script: [1]: /storage/temp/129269-capture.png
It also throws this error when I walk: Animator is not playing an AnimatorController
Answer by Vega4Life · Dec 11, 2018 at 04:52 PM
First, don't use an extension getting the controller.
Second, you need your asset to be in a resources folder to get it from Resources.Load.
If you put your controller directly into a Resources folder, you can call it like this:
Resources.Load("player_controller") as RuntimeAnimatorController;
Also, "Animator is not playing an Animator Controller" means it doesn't have a controller on it.
Your answer
Follow this Question
Related Questions
Dynamically add AnimationState to Controller 0 Answers
Does Unity have ANY support for ANY Thrustmaster products? 0 Answers
mesh replacement deletes animation 0 Answers
Can the animation editor create local rotational data? 3 Answers
AnimationController Resets Rotation After TimeLine Animation 1 Answer