playMaker

Author Topic: [SOLVED] Nothing works in Webgl  (Read 820 times)

spacekoala

  • Playmaker Newbie
  • *
  • Posts: 2
[SOLVED] Nothing works in Webgl
« on: December 17, 2021, 03:49:06 AM »
Just made my first game in Unity with Playmaker and while the executable works with no problem, when I compiled it for Webgl, none of the Playmaker scripts seem to work. Here's a link https://spacekoala.itch.io/muddy-wheels when loaded the car should spin on the menu screen, it should load the scores and the start button should work. All I can think of is that I have changed an option in Player Settings, would this have caused this?
« Last Edit: December 17, 2021, 06:56:29 PM by spacekoala »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Nothing works in Webgl
« Reply #1 on: December 17, 2021, 09:22:37 AM »
Hi.
Do you have Get/Set Properties actions in your project?
if so you might need to use Linker Wizard

Before you do try 1st a simple project (1 scene rotating a cube) and see if that works.
To make sure pm is working.

there should be a log file when you build, maybe it can help finding the issue.

if rotating cube does not work, post back here and mention Playmaker version and unity version.

for the exact PM version go to PlayMaker/Help/About Playmaker

spacekoala

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Nothing works in Webgl
« Reply #2 on: December 17, 2021, 06:54:02 PM »
Thanks djaydino.

I worked out what the problem was. I had strip engine code checked because I had read that doing that sped up build times after your first compile.

The only part of my game which doesn't work now is the webrequest action (imported from ecosystem) which might not be Webgl compatible.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: [SOLVED] Nothing works in Webgl
« Reply #3 on: December 18, 2021, 08:53:04 AM »
Hi.
yes i believe its not compatible for webgl