- Home /
Spammed by "Sending Message Header Failed" warnings
Occasionally, the Unity editor will start to send out "Sending Message Header Failed" warnings in the debug console at a ridiculous pace. Sometimes one per second or so, sometimes hundreds per second. It doesn't seem to be related to any particular action, either. I can fire up unity, load my project, and let it sit for a few minutes, and the warnings start. Nothing seems to be breaking, but it's causing serious lag and doesn't seem to stop until I close Unity altogether. Is there any known cause (or fix) for this?
I see the same thing, but my lobbyserver from $$anonymous$$uchDifferent is failing now suddennly (i didnt change anything). I dont know if "Sending $$anonymous$$essage header Failed" message has something to do with it. I just updated Unity to version 5.3.1.f1 , then this these problems started.
Same thing happens with 5.4.1f1. Thousands (ok, 999+) of these warnings are being displayed. I've searched for a cause across the unity3d site, and no one from Unity has offered any explanation as to what's going on or how to fix it.
Can someone please explain what's happening here? Why is it imperative that we know that the message header failed to send?
Answer by ifdef_ben · Sep 30, 2016 at 05:03 PM
I think I know what's causing this. This message appears when the profiler is trying to connect to an instance of unity outside the editor. This can happen even when the profiler window is closed, as the profiler somehow stays active anyways.
- Open up the profiler window. Go in Window > Profiler (or press Ctrl + 7)
- Click on "Active Profiler" in the top bar of the window and select "Editor".
- Done! At least it worked for me.
Didn't work for me. $$anonymous$$ine is still sending messages after several $$anonymous$$utes with play mode exited. $$anonymous$$ine happens when I'm testing my $$anonymous$$P game with a standalone instance running on my 2nd monitor. Doesn't seem to matter which I shutdown first, the standalone or the editor one.
Answer by StrongGuy · Sep 12, 2017 at 08:48 AM
Try this: In Profiler window -> Active Profiler -> Enter IP -> Enter 0.0.0.0 (whatever you like) Unity will try to connect to that Ip and then fail. and the whole world is quite!
Your answer
Follow this Question
Related Questions
4.6.0 to 4.6.1 makes player lag, bug? 1 Answer
Game lags when there is no internet (iOS) 1 Answer
Unity for Android - Display lag 1 Answer