Set a player before spawning it!
UnityEngine.Debug:LogWarning(Object)
ORKFramework.PlayerHandler:SpawnPlayer(Combatant, Vector3, Boolean, Single, Boolean, Vector3)
ORKFramework.PlayerHandler:SpawnPlayer(Vector3, Boolean, Single, Boolean, Vector3)
ORKFramework.PlayerHandler:SpawnPlayer(Int32)
ORKFramework.SceneTarget:SpawnPlayer()
ORKFramework.Behaviours.d__27:MoveNext()
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
ORKFramework.Behaviours.SceneChanger:OnSceneLoaded()
ORKFramework.ORKCore:FireSceneLoaded()
ORKFramework.ORKCore:OnSceneLoaded(Scene, LoadSceneMode)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)
but the problem is i setted up all properly can some1 help me why script dosent see the player?
A simple start event would e.g. consist of a Join Active Group node to have a combatant join the player group (i.e. this becomes the player) and spawn it via the Spawn Player node.
The game tutorial #3 handles this topic. If you haven't done yet, I'd highly recommend going through the complete game tutorial series from start to finish, as this'll teach you all the basics, ORK's workflow and the most common features you'll use.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Also, make sure to either start your game via the main menu, or when directly starting in the scene, have the Start Game option enabled in the ORK Game Starter.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!