WebGL build; actually possible?

0 votes
asked Oct 25, 2021 by jaggededge (130 points)
I've searched the net and seen countless questions about EasyAr/WebGL builds failing with the dlopen/Emscripten error, yet I can find no definitive answer. Even on this EasyAR forum a couple of questions are asked and no definite answer given. My app works well with EasyAR 3 running on the Unity editor but I can't get past the dlopen error, can I ask firstly, is  Easy AR actually possible on a WebGL app?

And secondly, if it is then could we have a how-to guide to make this work. The suggestions so far either suggest to dabble with Emscripten or create a  Unity camera with Open GL ES 2 or 3, I'm dizzy from all the suggestions.

Can it be done?

2 Answers

+1 vote
answered Oct 25, 2021 by kenn (18,750 points)
No. EasyAR Sense does not run on Web. Unity does not do the magic.
commented Oct 26, 2021 by jaggededge (130 points)

I did feel this was the case, but answers like this muddle things:


As my app just uses basic image tracking I had some hope, but an official NO it won't work and can't be made to work might at least put an end to these queries.

commented Oct 26, 2021 by kenn (18,750 points)
Well, there is no technical errors in both threads. You can use EasyAR CRS service by directly use the service API, and it is true it can be used in Unity.

There are always questions without usage descriptions, and what we can do is to provide possibilities, you need to choose what is usable according to your context.
0 votes
answered Mar 14, 2022 by kenn (18,750 points)

For those who come into this thread looking for Unity WebGL support, the answer is "YES and NO", if you are coming for "EasyAR" instead of "EasyAR Sense" or "EasyAR Sense Unity Plugin" or some other specific feature(s).

EasyAR has quite broad products from pure native SDKs and Unity plugins to cloud services. And there are quite a lot of different features in every product. You can always use cloud services in (Unity) Web(GL), but you have to use them like using any other cloud service you may see in the world.

We have also added some description/classification in the latest documents for the EasyAR Sense Unity Plugin: https://help.easyar.com/EasyAR%20Sense%20Unity%20Plugin/latest/GettingStarted/Platform-Requirements.html#webgl

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.