Unity WebGL C# error

Hi @Bruno_Mataloto,

It depends on how you’re trying to use MongoDB with Unity.

Right now the Realm SDK for Unity does not support WebGL builds. However, if you’re trying to make HTTP requests from your Unity game to some backend, that will work fine.

Just to be clear, you shouldn’t be using the C# driver for Unity because that driver is intended for backend applications, where as a Unity game is considered a frontend application.

Hopefully that helps.

Best,

1 Like