Web Build support for Unity

Hi everyone,

It was great meeting the Cesium team at DevCon in Philly! I’m following up with a question regarding Web build support for Unity - is this something that could be considered for the Cesium roadmap?

We’re building an open-source framework for VR applications, and many of our clients and community members are asking for Web support. We’re now working on a split structure: one version of our Unity app for VR, and another for Web, depending on the user’s device.

Our goal is to offer two packages for the same app:

  1. A secure enterprise package containing sensitive data (API keys, credentials, managers)

  2. A creator-facing Web package, which companies can safely distribute to external developers and artists. This second package will be delivered via Unity’s Addressables system and layered on top of the core app.

However, Cesium currently doesn’t support web builds, which breaks our project if we target that platform — forcing us to remove Cesium entirely from the Web build. We’ve already invested a lot of effort to ensure Cesium works smoothly in VR, and we’d love to continue that work by bringing it into our web pipeline as well.

Thanks so much, and we’d love to hear your thoughts.

Best regards,
Evgeniya

1 Like

@Kevin_Ring @azrogers Any updates for us on WebGL front? :slightly_smiling_face:

@Evgeniya_Simmons We’ve tried out a WebAssembly build of Cesium for Unity with some success - you can take a look at that over on GitHub. There’s still a ways to go until this can be used with a Unity WebGL build, and then some unknown amount of time it will take to resolve whatever issues appear when using Cesium Native from WebAssembly - but it’s a significant step towards WebGL support!

1 Like

Thanks for the update, Ashley. This is exciting progress. Will continue working on our end to split our framework into VR and Web, and check in with you guys in a little while. If there’s any way we can support testing/integration scenarios relevant to Unity’s Web Build workflow, I’m happy to contribute.

1 Like