Search Issue Tracker
Active
Votes
45
Found in
2021.3
2022.1
2022.2
2022.2.0a1
Issue ID
1388816
Regression
Yes
[WebGL][Chrome] "The message header is corrupted and for security reasons connection will be terminated." errors
How to reproduce:
1. Open the attached project
2. Open Test Runner window
3. Run Playmode tests on WebGL
Expected result: No issues
Actual result: "The message header is corrupted and for security reasons connection will be terminated." errors in the UI and browser console
Not reproducible after Build&Run
Reproducible with Google Chrome Version 96.0.4664.110
Not reproducible with Safari 15.2
Tested with MacBook Pro (16-inch, 2019), Big Sur 11.6.2
Reproducible: 2021.3.0f1, 2022.1.b1, 2022.2.0a1
Comments (16)
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
- isElided returns false incorrectly when using ATG and right-to-left text
- "Compiling CSMain: Internal error communicating with the shader compiler process." error when compiling a shader
- Single bit enum options become invisible in the Inspector when combined enum options are declared above them
- UI Builder background color picker alpha values are set to even numbers when saving alpha value as an odd number
- Objects are hard to read in the Hierarchy when using a high resolution display with a low display scale
Marks4
Nov 18, 2025 19:49
This is still happening in Unity 6000.2.12f1. I can't profile WebGL builds.
BooperWooter1224
Apr 20, 2025 14:27
I haven't had this bug ever, but, its sounds... nasty...
kritikos
Nov 25, 2022 12:16
Tested on 2022.2.0b16 and still occurs! A fix would be highly appreciated. Being able to profile our webgl client is very important.
Jlsax
Sep 17, 2022 11:51
The message header is corrupted and for segurity reasons connection will be terminated
Me da este error y no se como solucionarlo.
Ayúdenme
jwtan_unity
Sep 06, 2022 04:33
Fix Versions:
2023.1.0a4
2022.2.0b3
2022.1.12f1
2021.3.8f1
m2yonnad
Aug 03, 2022 04:59
This is really frustrating not having profiling work. My app seems to be super slow on Chrome but not on Firefox - and not being able to profile it to figure out what's wrong is making me consider using a different game engine...
AldeRoberge
Jul 30, 2022 20:56
How to reproduce :
Unity 2021.3.5f1
WebGL Target
Autoconnect Profiler + Development Build
Open in Chrome
dimitroff
Jul 26, 2022 07:47
Can't believe that it has been reported half a year ago and this is still not fixed. :(
JegoBestaatal
Jul 22, 2022 08:16
Impossible to profile any WebGL stuff in 2021 LTS, and it gets tagged as low pain issue?
Dan_Dovi
Jul 19, 2022 08:29
Still occurring in Unity 2021.3.6f1