Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: colpolstudios on April 14, 2019, 06:44:07 PM

Title: Web GL issue possible bug (SOLVED)
Post by: colpolstudios on April 14, 2019, 06:44:07 PM
I have a possible bug issue with web GL build.

I am using global events to turn on off game objects.

The web GL build, however, does not show the activate game object. when requested.

all the other aspects run as expected.

I tried a standalone build and everything works as expected.

my main character in the standalone build can with key press change weapons. The weapon change shows and everything is working fine.

However, in web GL build with no changes this no longer works.

Maybe there are special conditions to a Web GL build that I'm not aware?

Your help is much appreciated

many thanks.
 


 
Title: Re: Web GL issue possible bug
Post by: Alex Chouls on April 14, 2019, 07:04:34 PM
Web GL builds use stripping so you have to tell Unity not to strip types used by Get/Set Property, Call Method or other actions that don't directly reference types. This could account for the different behavior you're seeing.

Check out the Linker Wizard for more info on making a Link.xml file for your project:
http://hutonggames.com/playmakerforum/index.php?topic=11126.0
Title: Re: Web GL issue possible bug (solved)
Post by: colpolstudios on April 16, 2019, 07:17:54 PM
many thanks, Alex issue resolved :)