Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
0
Found in
2022.2.0b9
2023.1.0a12
Issue ID
UUM-15643
Regression
No
WebGL Build throws returns runtime errors when ran in native multi-thread mode
Reproduction steps:
- Open the attached project
- Switch the Target Platform to WebGL (File > Build Settings > WebGL > Switch Platform)
- Build And Run the project
- Observe the Errors in the Browser’s developer console (F12)
Expected result: The WebGL Build doesn’t produce any errors and runs smoothly
Actual result: The WebGL Build throws a lot of errors and doesn’t run
Reproducible with: 2022.2.0b9, 2023.1.0a12
Could not test with: 2020.3.40f1, 2021.3.11f1, 2022.1.18f1 (Couldn’t build due to WebGL Build errors)
Reproducible on: Windows 10 (21H2)
Note: If the browser throws a “Your browser does not support multi-threading” error, run the build using the attached emrun.py python script from the build folder using the command line/terminal with the “python emrun.py index.html --no_browser --port 8000” command
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Wired Xbox 360 controller is not mapped correctly and is not defined clearly when using macOS
- Errors are thrown when compiling scripts with Microsoft.Extensions.Options 10.0.0+ assemblies
- Economy package throws a CS0619 error in the Console when installed together with Deployment package
- “Screen position out of view frustum” errors are thrown when zooming out in the Scene view with Rect Tool selected
- Only one [UnityOneTimeSetUp] method runs when there are 2 of them in different classes
Resolution Note:
Yes, the problem was in the incorrect user implementation of C++ std:thread, is not a Unity problem, the customer is still reviewing the suggestion provided.
Resolution Note (2023.1.X):
Yes, the problem was in the incorrect user implementation of C++ std:thread, is not a Unity problem, the customer is still reviewing the suggestion provided.