Normal view

There are new articles available, click to refresh the page.
Before yesterdayGame

I want to disable all alert errors for webgl

I want to disable the entire alert system that shows up with:
An error occurred running the Unity content on this page.

I'm using unity 2022.

I tried disabling the alert in a unityloader.js file I found in the webgl build folder but that didn't work.
I also tried this but it didn't work either. I cleared my cache in my testing also.
Code (CSharp):
  1. UnityLoader.Error.handler = function(e,t){console.log(e);}
I'm not sure where it's even coming from in 2022.
Can someone tell me where...

I want to disable all alert errors for webgl

Texture width greater than 0 error with webgl 2023.3.03b

I'm trying to test the webgpu build but both webgl and webgpu have this error.

Texture must have width greater than 0
UnityException: Failed to create texture because of invalid parameters.

I only see the error in the webgl build. The error does not show in the editor.
How do I debug this?
❌
❌