beamable / BeamableProduct

The beamable product suite including com.beamable, com.beamable.server, microservice base image, portal, the installer, and build scripts
Other
4 stars 0 forks source link

SDK fails to initialize when starting without internet after SDK upgrade #3389

Open allister-beamable opened 2 months ago

allister-beamable commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Play online in a build made with 1.19.17
  2. Update to a build made with 1.19.18
  3. Ensure the device is offline (airplane mode or the like)
  4. Play in the updated build from step 2

Expected behavior SDK initializes but is in offline mode, -OR- SDK initialization throws an exception that Game Makers can catch and handle.

Actual behavior SDK fails to initialize, hanging forever on await BeamContext.Default.Instance;

Metadata Please include,

allister-beamable commented 2 months ago

When the hang occurs, there is a repeated error message from trying to make the request to /basic/accounts/me

cdhanna commented 2 months ago

if the device goes back online, things become okay.

cdhanna commented 2 months ago

maybe it is the case that offline handling is just broken in .18, and not that it has anything to do with an sdk update from .17.