Page 1 of 1

[HOWTO] How To: Fix Scene Edge Issues

Posted: Wed Dec 04, 2024 11:18 am
by Tony Li
This article contains a checklist of things to review if Scene Edges aren't working in your Scene Streamer setup. Scene Edges listen for "OnTriggerEnter" messages from Unity. To ensure that it receives these message and handles them properly, here are some things to check:
  • Make sure your Scene Edge and player GameObjects are on physics layers that will register.
  • Make sure your player GameObject's Tag is in the Scene Edge's list of Accepted Tags. (The default list contains "Player".)
  • Make sure your Scene Edge has a trigger collider and your player has a collider. Try adding Rigidbody components to your player and SceneEdge. You can set them to kinematic so they're not affected by physics forces.
  • Keep an eye on the Console window when playtesting in the Unity editor's play mode. It could indicate an issue such as the Scene Edge's scene not being in build settings.
  • Tick the Scene Streamer component's Debug checkbox. This will log activity to the Console that might help shed light on the issue.