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
- "There can only be one active Event System" Warning is logged when entering Play Mode in the BenchmarkScene of the 3D Universal sample Template
- Motion blur is forced and exaggerated through transparents when "Sort with Refractive" and Motion blur is enabled
- MaterialPropertyBlock of a SpriteRenderer is reset when it is updated through the color picker
- NullReferenceException occurs when accessing "containerWindow" on a Scene View Overlay
- Vertical scrollbar appears in the "Packages" section when it is not needed
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