BattlehubCode / 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
11 stars 0 forks source link

Save & Load AnimatorController #89

Closed BattlehubCode closed 1 year ago

BattlehubCode commented 1 year 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

BattlehubCode commented 1 year 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