- Home /
Mecanim Runtime Controller is Private!
Read your post and have been having exactly the same issue on my project regarding working with the Mecanim Animator Controller component. I want to be able to assign the controller at runtime but its not public. So this is definetly an oversight of unity dev team which needs correcting.
What i did manage to do successfully was to simply make a prefab with the controller manualy assigned and then to use Resources.Load to instance it into the game scene correctly. This does actually work. What i am having issues with doing is making it load from an Asset Bundle which seems to not load the Controller. In fact the Build Pipeline does not even create the dependency with the Controller when building the unity3d file.
This has been a massive minus on mecanim so far since any professional development will require runtime script access to the controller property which is not public.
GXMark
Duplicate Question : http://answers.unity3d.com/questions/346004/mecanim-runtime-controller-is-private.html
Please Delete this Question.
Please be patient if your question/reply doesn't show straight away.
As a new user, your posts and questions are held in a moderator que until it is approved and then it is displayed. When your karma rises, you'll be able to post questions, comments and answers without waiting for someone to approve it =]
Your answer
![](https://koobas.hobune.stream/wayback/20220613083638im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mecanim Runtime Controller is Private! 4 Answers
Skills controlled by animation (event callbacks and parameters) 0 Answers
Does anyone have an example of an animator with diagnol locomotion? 0 Answers
Get list of parameters of an AnimatorController 3 Answers
Javascript to control parameters of animator controller 3 Answers