Howdy!
I have a little issue in that my player will not spawn when using a spawn point. From the Main Menu to my first scene, I got around it by using the 'easy' option in the tutorial. However, when I add a scene changer and add the spawn point following the tutorials, nothing I can do will make the player spawn in my other scene.
I have checked all spawn IDs and these match up. I have removed the components and re-added them, following the tutorial to a T. I've also tried spawning based on position rather than Spawn Point. Nothing.
Having searched the forum, no one seems to have the same issue as this so I'm a bit confused :) Using Unity 2018.1
Any suggestions on what I could try would be a big help!
Thanks!
Anyway, do you get any error message in the Unity console? Does Unity change to the new scene and just not spawn the player, or doesn't it load the new scene at all?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Apologies for the delay in replying, my internet has been down the last few days!
I have checked all of the suggestions but nothing changes.
@gamingislove - the scene changes, but no player spawn at the spawn point and no error messages in the console.
I have a scene changer that changes to my new scene. Set to SpawnPoint ID of '0'. Target scene is defined in the Scene Changer and is set to Trigger Enter. Nothing else changed.
In my target scene, I have a Spawn Point with an ID of 0 and a scene changer sending the player back to the previous scene. Spawn Point is way away from the Scene Changer collider. All scenes are in the build settings.
Scene changes, no player spawn.
Thanks and I hope you all had a Merry Christmas! :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I stripped out all the ORK components from my scene and added them in from scratch. This allowed me to use Option 2 of spawning the player from the main menu (rather than the easy way) and it works fine.
The only issue I have now is the Scene Changer. I have tried three different scenes, including the one that came with the tutorial resources and it just won't spawn the player at the spawn point. I have tried new Scene Changers at different positions and new spawn points with various ID's and positions. Nothing.
I started a new project using only ORK and everything works fine which leads me to believe something in my current project is stopping the player from spawning. What that is, I've no idea as nothing I have would affect spawning, especially without throwing up any errors.
All I'm using is Invector and a few model assets without any demo scenes.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Hm, could you send me your Unity project to contact@orkframework.com? E.g. zip it up and upload it on dropbox or something and send me the link :)
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!
Issue Solved Now.
If anyone else has this problem turn off Invector’s Third Person Controller component on your player’s prefab – click on Open Properties and Locomotion and disable Use Instance.