gindemit / unity-rlottie

Unity library that plays Lottie Animation to Texture2D
MIT License
147 stars 23 forks source link

unity webgl #30

Open vladukan opened 1 month ago

vladukan commented 1 month ago

good afternoon, it is possible to make the plugin work for webgl. there is a plugin error on the build right now DllNotFoundException: Unable to load DLL 'LottiePlugin'. Tried the load the following dynamic libraries:

KasperSeas commented 1 month ago

@vladukan ran into this too, they have a possible solution in this thread: https://github.com/gindemit/unity-rlottie/issues/5

gindemit commented 1 month ago

Hello guys, spend last week few hours trying to build the WebGL version of the plugin on Win11 and later on Ubuntu. No luck. The resulting libraries are "arch" files, but not the "BC" (bit code) which Unity expects for WebGL. I will spend more time on it.