On latest AC, latest Unity: when trying to play a custom anim through a Hotspot, I'm seeing this error:
Cannot play clip Hand Dryer on Hand Dryer
-> AC debug logger
UnityEngine.Debug:LogError(Object, Object)
AC.ACDebug:LogError(Object, Object) (at Assets/AdventureCreator/Scripts/Static/ACDebug.cs:38)
AC.AnimEngine_Mecanim:ActionAnimProcess(ActionAnim, Boolean) (at Assets/AdventureCreator/Scripts/Animation/AnimEngine_Mecanim.cs:636)
AC.AnimEngine_Mecanim:ActionAnimRun(ActionAnim) (at Assets/AdventureCreator/Scripts/Animation/AnimEngine_Mecanim.cs:571)
AC.ActionAnim:Run() (at Assets/AdventureCreator/Scripts/Actions/ActionAnim.cs:117)
AC.<RunAction>c__Iterator2:MoveNext() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:347)
UnityEngine.MonoBehaviour:StartCoroutine(String, Object)
AC.ActionList:ProcessAction(Int32) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:306)
AC.ActionList:BeginActionList(Int32, Boolean) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:274)
AC.ActionList:Interact(Int32, Boolean) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:185)
AC.ActionList:Interact() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:154)
AC.<UseObject>c__Iterator0:MoveNext() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:1329)
UnityEngine.MonoBehaviour:StartCoroutine(String, Object)
AC.PlayerInteraction:ClickButton(InteractionType, Int32, Int32, Hotspot) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:968)
AC.PlayerInteraction:ClickHotspotToInteract() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:2100)
AC.PlayerInteraction:ChooseHotspotThenInteractionClick_Process(Boolean) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:478)
AC.PlayerInteraction:ChooseHotspotThenInteractionClick() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:375)
AC.PlayerInteraction:HandleInteractionMenu() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:156)
AC.PlayerInteraction:UpdateInteraction() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:97)
AC.StateHandler:Update() (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:312)
Comments
The error is not a true error, but a debug warning message: do you have an animation state named "Hand Dryer" in the "Hand Dryer" animator controller? Please provide screenshots of your Animator Controller, and the Object: Animate Action. This is not something I can recreate as-is.