Specific location scene

hello
how to load last location character in after change scene
when i use Application.LoadLevel (“main”);
character always load in start location

when i use
var target : Transform;
DontDestroyOnLoad (target.gameObject);

i can’t find object in another scene?

You’ll need to store the character location somewhere (maybe in a static variable) before the load and then move the player there after the load. You can’t find objects in scene’s that aren’t loaded yet because the scene isn’t loaded. You may also have other errors where the player is carried over but a new one is also created. It’s pretty simple, just take your time and debug the problem.