Battlehub0x / RTE_Docs

This is a repository for Runtime Editor documentation, discussion and tracking features and issues.
https://assetstore.unity.com/packages/tools/modeling/runtime-editor-64806
9 stars 0 forks source link

Save & Load AnimatorController #89

Closed Battlehub0x closed 10 months ago

Battlehub0x commented 11 months ago

I am adding an „Animator“ component and then adding an „Animation Controller“ to the component field. After saving and re-loading, the animator component is still present but the „Animation Controller“ Field is empty .. did I forget something in the RTSL configuration? „Animator“ and all of its fields are checked

Battlehub0x commented 11 months ago

It looks like there is no suitable Unity API to save and load Animator Controller at runtime. So the best option currently available is to add the Animator Controller to the Scene Asset Library.

The easiest way to do it is to add reference to Animator Controller in scene and click Tools->RuntimeSaveLoad->Update Libraries

image

image