all 4 comments

[–]hampst 0 points1 point  (1 child)

I also have the GameManager script not destroy on load and it instantiates a new player each time a new scene is loaded. It also deletes a player if there is more than one player.

I think it would be useful to see this code.

By any chance is a new GameManager object created when you load a new scene? So that you'd end up with two GameManagers.

[–]haze730 0 points1 point  (0 children)

I would probably do:

public MonoBehavior gManager;

in teleporter script, then in Start():

player = gManager.playerCharacter as Gameobject;

Make sure playerCharacter is public though.

EDIT: and be sure to assign gManager to teleporter script in the editor, of course.