BoltEngine / Bolt-Tracker

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

Platform Instantiation calling twice #122

Closed M1raclee closed 5 years ago

M1raclee commented 5 years ago

How to reproduce issue

  1. StartClient()
  2. Click on pause (unity editor) or hide application (android)
  3. Wait first message ">>>> [PUNCH] >>>> Platform Instantiation"
  4. Unpause or open application

Expected Behavior

Check is instantiation already started before call Platform Instantiation.

Actual behavior

[PUNCH] >>>> Platform Instantiation calling twice, as consequence got error: BoltException: Bolt is already running, you must call BoltLauncher.Shutdown() before starting a new instance of Bolt, because bolt already starting. It's problem actual for weak mobile device, when game "freezing" while scene loading.

Configuration

ramonmelo commented 5 years ago

Thanks for the feedback!

Fixed on the next release.