Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: wuannetraam on June 23, 2020, 04:31:43 AM

Title: WWW action not available in WebGL build?
Post by: wuannetraam on June 23, 2020, 04:31:43 AM
I'm experimenting with the WWW action. Got it working when I've got my Build Settings set to PC. But when I switch to WebGL the WWW action is gone. Is this not supported? That would be very unfortunate. Hope someone can help.
Title: Re: WWW action not available in WebGL build?
Post by: djaydino on June 23, 2020, 12:57:25 PM
Hi.
i checked the www Object action and it has this line :

Code: [Select]
#if !(UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL)
Which means that this does not work on these platforms.
This is a Unity limitation, not playmaker.

But i did a quick search on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) (searched 'url') and there is an action called 'Open Wbgl Url'