Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: wetcircuit on March 04, 2018, 08:50:18 AM
-
I'm trying to build for WebGL with image textures pulled from an URL – Unity2017.3.0f3
WWWPOST works in Editor but throws "MovieTexture" errors that stop the build. I have to delete the .cs before I can successfully build a WebGL project.
WWWPOSTMobile also works in Editor but fails gracefully in the final WebGL project (texture doesn't load but Is Error event fires correctly).
Is there a different action/method I should use with WebGL? Is there something I have missed? Thank you for advice.
-
Hi,
The action does not work for webgl only the platforms stated on the image :
(https://i.imgur.com/B0FFPPal.png)
-
Thank you for confirming, are there any options for WebGL?
-
Hi,
I just check on unity and you will have to do stuff on your server to be able to use www :
https://answers.unity.com/questions/1071842/load-url-images-in-webgl.html
-
Pointing to an image URL on the same web domain as the project is working correctly with WWWPOSTMobile.
::) Thank you. I would never have known that, and just a silly coincidence my test scene and the image were not at the same web domain.
-
Hi,
I am happy you got it to work :)