I need to have some NPC prefabs in various scenes, the problem is that they reference the Player prefab, which moves from scene to scene, and all the NPC unity event references break whenever the player isnt in the scene.
I also need to reference some children of the player prefab, is this possible?
The issue is that i asked this before fully understanding what I was trying to do lol. The solution for using a player that you send between scenes here is to either have a scripting solution that somehow detects maybe the Tag “Player,” since that’s the only object that should have that, and have it insert the player where needed.
But I instead went with the option of just sending the player’s data to instances between scenes. That worked out smoothly for me, and allowed me to just use the player’s instance in each scene as the target for local events, etc.