Select to view content in your preferred language

Enable support in the Unity ArcGIS SDK for building to WebGL

1934
1
07-12-2022 07:13 AM
Status: Open
Labels (1)
ErikWB
by
New Contributor II

I like building Unity applications for WebGL so I can build the UI in a web-application that imports the Unity WebGL bundle. I would love to use the new ArcGIS MAPS SDK for this as well, but I noticed it does not support building to WebGL. I tried anyway of course and these are the errors I receive. 

ErikWB_0-1657635101911.png

I would love to hear if you are planning to work on this!

Tags (2)
1 Comment
Matt_Nelson

So yes this a feature we have been asked for before and it would be cool but there are some pretty serious technical limitations to why this won't be coming that soon.

1. Our sdk is very performance intensive and unlikely to work that well in a web browser
2. Most of our code is written in c++ which some people have started trying to tackle with things like web assembly but we have not seen this being very feasible yet. 

If you want to look into solutions that would work for this you could attempt to use pixel streaming to load content in the browser.