Please help me.
I have Hotspot with "Walk To Marker" on "Use" button. When I use it, my character only turn to object and stoped.
For project I use "Direct" movement method and input "mouse and keyboard".
IndexOutOfRangeException: Array index is out of range.
AC.PlayerInteraction+<UseObject>c__Iterator0.MoveNext () (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:947)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(String, Object)
AC.PlayerInteraction:ClickButton(InteractionType, Int32, Int32, Hotspot) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:840)
AC.PlayerInteraction:ClickInteractionIcon(Menu, Int32) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:1935)
AC.MenuInteraction:ProcessClick(Menu, Int32, MouseState) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/MenuInteraction.cs:452)
AC.PlayerMenus:CheckClick(Menu, MenuElement, Int32, MouseState) (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:2065)
AC.PlayerMenus:CheckClicks(Menu) (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:1727)
AC.PlayerMenus:CheckForInput() (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:1813)
AC.StateHandler:Update() (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:309)
Comments