Unity 5 WebGL Error

Hey Everyone,

I’m trying to compile a WebGL version of my game and I’m getting an error that I can’t parse for any useful information. My project is using 2dToolkit (although we’re in the process of converting it to 4.6 UI), StrangeIoC, JsonDotNet, UnityVS, and ParticlePlayground as Plugins.

Our Webplayer Unity Plugin build works fine.

These are the four messages I get when we try to build:

then

then

then

Any help as to what those mean would be greatly appreciated!

Jsondotnet does not yet support webgl. I don’t have a release with the proper symbols but even if I did I does not work. I have been working on compatibility but il2cpp has a ways to go. There seems to be an issue that prevents it from compiling in beta 14 and 15. It compiles in beta 13 and I have been able to successfully serialize a vector3 but no collections yet. I have mot yet tried with beta 16 and I have a bug report submitted to Unity for what I have found so far. I don’t currently have an eta on webgl support as it completely depends on webgl and il2cpp being able to support reflection at least to the degree that IOS does

Thanks Dustin. It’s good to know you guys are aware of the issue and working on it. We love using JsonDotNet, so hopefully you can get it to be compatible with Unity 5 WebGL (and iOS) platform targets.

Good luck,
Mike

Thanks Mike! I’m doing everything I can to get it working. :slight_smile: