After updating to the latest beta build, none of our WebGL projects run anymore.
Tested in Chrome & Safari with our minimal web gl example project.
The projects all run in the simulator, there just seems to be a bug in the WebGL build system now. (last unity version I tested where WebGL was working was 2021.2.0b12)
Try deleting Library/BuildCache and Library/Bee then build again, there’s been an issue requiring that lately for same or similar error in WebGL builds but I’m not sure which versions it applies to - latest 2022 alpha for me anyway that works. There’s an alphas thread about it, I’m on my phone so it’s hard to grab the link to paste but hope that helps
Thank you for that tip, deleting the Library folder made my minimal test example work.
For the production app, we do have a project setup with a local core-code package, thats imported into the main project (also into other projects).
The project works fine in the Editor, but when I build&run it in the browser, I get a some weird:
FormatException: Input string was not in a correct format.
at System.Text.StringBuilder.FormatError () [0x00000] in <00000000000000000000000000000000>:0
errors I have never seen before (while executing code in the local dependency package).
Is there a cached build folder for the dependent projects that I also have to refresh?
I’m not sure, I’m not familiar with that workflow - actually being able to share source between projects (the same copy… which I assume you’re talking about) is something I didn’t think was possible but now that I know it’s being done I guess I’ll have to look into it again! Anyway glad things are moving forward, hope the other thread elicits a useful response - good luck.