Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

need refresh every time lose. 

it worked well with no error in unity but says nullreference when restart the game on itch.io. 

i suppose theres something deleted every time it reenters the scene but i couldnt find the code for that TT.

try this and rebuild the game, this will ignore error and let u continue the game in browser

  1. Open your project in the Unity Editor.
  2. From the Unity Editor menu, select Edit > Project Settings.
  3. Under Publishing Settings, set Enable Exceptions to Full Without Stacktrace.

reference:
https://www.reddit.com/r/Unity3D/comments/zscwai/3d_unity_webgl_error_runtimeerr...

it worked! thank you so much