If i set “C++ compiler configuration” in other settings to ‘release’, i can get a working WebGL game. If i use the Debug mode, and run the game i get a popup as attached. Is this a bug or am i missing something?
Update: New computer, new project, same issue. Does this mean its a Unity bug?
Same problem!
Yep, experienced the same problem yesterday. It seems to be a bug
Same problem here too. Unity 2019.1.14f1. Building with C++ Compiler Configuration “Release” works.
Looks like there is already a bug report opened with this issue.
Same issue here. Maybe it could be nice to solve this now (after almost a year…) @Schubkraft any news on this issue ?
thanks my dudes (2020.1.0f1 still an issue)
How do you fix the issue?
it’s funny cuz I was thinking that Debug configuration will speed up my build and I will spend less time on testing WebGL build. But… Now I spent 2 hours in total trying to understand what’s wrong with my project ![]()
Changing back to Release fixed my issue.
This is a bug that is not an issue strictly with WebGL, but one of IL2CPP. There has been a bug report, and the issue is on their radar, although I am not completely sure what the latest status is. Pinged some people internally to see if there has been progress yet.
In the meanwhile, for debugging scenarios, recommend building with C++ compiler configuration set to Release, but with project build configuration set to Development.
It looks like the issue has been fixed, and the fix should be present in the following versions:
- 2021.1.0a2 and newer
- 2021.2.0a5 and newer
- 2019.4.15f1 and newer
- 2020.1.14f1 and newer
- 2020.2.0b12 and newer
