playMaker

Author Topic: Webgl build is buggy  (Read 999 times)

IIKII

  • Full Member
  • ***
  • Posts: 139
  • Lonely developer
    • Patreon
Webgl build is buggy
« on: July 05, 2022, 06:26:58 AM »
Hi, my game works fine when played in PC build but if it's for Webgl, some things become buggy.

I am curious if anyone knows why and how to fix it?
thanks
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Re: Webgl build is buggy
« Reply #1 on: July 05, 2022, 08:08:59 AM »
"some things become buggy" is not enough information to help.

Many Unity features are platform-specific – webGL is probably the most limited of all Unity's platforms because of web security, memory allocation in the browser, shader limitations, etc etc.

IIKII

  • Full Member
  • ***
  • Posts: 139
  • Lonely developer
    • Patreon
Re: Webgl build is buggy
« Reply #2 on: July 06, 2022, 12:58:37 AM »
I dont have enough information to give, some stuffs just doesn't work out of no reasons. I have no idea.

Sometimes i need to disable a FSM in order to unstuck the level. Sometimes a fsm doesn't run. It is kinda bizarre.

Nvm, i will take it as a limitation of building for webgl
« Last Edit: July 06, 2022, 03:03:33 AM by IIKII »
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Webgl build is buggy
« Reply #3 on: July 06, 2022, 09:23:38 AM »
Hi to figure out where it gets stuck, you can make a 'debug fsm' that can display the current state of the fsm so you can see where its stuck.

Then you can see what actions are in that state