Closed azrogers closed 5 months ago
@azrogers I get a crash running this branch when trying to resume an ion session. I believe it's because of CesiumIonSessionImpl::Resume
at line 304: this blog of code:
this->_appData
is nullopt, which is causing an accessor error.
@azrogers I'll merge this after CI passes. Thanks!
Requires https://github.com/CesiumGS/cesium-native/pull/841.
As described in the above ticket, we don't currently support Cesium ion Self-Hosted servers that are running in single-user authentication mode. This is inconvenient, especially since single-user mode is both the easiest to setup and the default authentication mode in Cesium ion Self-Hosted.
This PR changes the behavior of Cesium for Unity to request the current authentication mode from the /appData endpoint before connecting, ignoring the authentication flow and token options if in single-user mode.