BoltEngine / Bolt-Tracker

New issue tracker for Photon Bolt
10 stars 2 forks source link

Restarting the server from a different scene, future clients won't change to correct scene. #112

Closed DanielSnd closed 5 years ago

DanielSnd commented 5 years ago

How to reproduce issue

  1. Start server in a menu scene.
  2. Once connected change to a game scene.
  3. Disconnect from bolt.
  4. Attempt to reconnect from the game scene instead of the menu scene.
  5. Do not call BoltNetwoork.LoadScene since you're already in the right scene with the game already running.
  6. From a client, try to connect to the restarted server from the menu scene.

Expected Behavior

The client should connect to the server and automatically be loaded into the correct game scene.

Actual behavior

The client stays in the menu scene instead of changing to the same scene the server is at.

Configuration

ramonmelo commented 5 years ago

Thanks for the feedback.

Fixed on the next release.