Hi guys! I’ve been trying to use Unreal Insights to see what’s causing to low FPS I currently get, however no matter I did, I couldn’t get it to work. When I start the Unreal Insights it gives this error. It does not trace sessions at all. I tried to start the Insights from the editor, and nothing changed. It gives the following errors;
I think I’ve found a fix: disable all the network adapters except the main ethernet/wifi adapter, terminate the UnrealTraceServer.exe process, close the editor and open it again. These steps worked for me without restarting the PC.
@Scienziatogm Hey. I just had the same EXACT issue happening this morning for no reason. Your fix worked somehow, but this is very concerning… I can’t use any other network adapter other than Eth/Wifi while working with UE5 ? Lol
Yeah, I had that idea because since it wasn’t connecting I thought it could be something with the local IP addresses. The TraceServer was started and working, so it wasn’t it. Then I thought maybe the trace server was taking the IP address to connect from the wrong network adapter for some reason.
At least we know what’s the cause of the issue now!
Hey, I had the same problem. It cause crash if you type you IP and press connect button.
Nothing helped - engine reinstall, use different engine version from store or source…
Remove everything from here (there are folders with UnrealTraceServer.exe):
Details, to be sure that this fix will work for you:
Go to engine, run cmd and type
Engine>Binaries\Win64\UnrealTraceServer.exe fork
you’ll see following:
Opening exist instance's shared memory
No existing process/shared memory found
Getting binary path
Binary located at 'D:\######\###_###\Engine\Binaries\Win64\UnrealTraceServer.exe'
Run path 'C:\Users\NoName\AppData\Local\UnrealEngine/Common/UnrealTrace\Bin/00010011/UnrealTraceServer.exe'
Already exists
Creating begun event
Unelevated launch failed (gle=740)
Unprivileged launch failed (gle=740)
Launch failed (gle=740)
Now kill the UnrealTraceServer.exe
Remove everythin from C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Bin\
Now run UnrealTraceServer.exe fork again and here’s the log
Binaries\Win64\UnrealTraceServer.exe fork
Opening exist instance's shared memory
No existing process/shared memory found
Getting binary path
Binary located at 'D:\######\###_###\Engine\Binaries\Win64\UnrealTraceServer.exe'
Run path 'C:\Users\NoName\AppData\Local\UnrealEngine/Common/UnrealTrace\Bin/00010011/UnrealTraceServer.exe'
Already exists
Creating begun event
Waiting on begun event
Setting working directory
Succeeded setting 'C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Bin\00010011' (gle=0)
Creating some shared memory
Creating a quit event
Writing shared instance info
Starting the store
Reading settings from 'C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Settings.ini'
Unable to open settings file C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Settings.ini.
Creating store with settings:
- Directory: 'C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Store\001'
- Store port: 1989
- Recorder port: 1981
Complete (ret=0)
The above fixes didn’t quite work for me. I discovered that there wasn’t another process that was bound to ports 1989 or 1981, but actually there was a restricted range of ports due to winnat and Docker.
I ran this command
netsh int ip show excludedportrange protocol=tcp
Which gave me this output
Protocol tcp Port Exclusion Ranges
Start Port End Port
---------- --------
1559 1658
1816 1915
1916 2015
2016 2115
2116 2215
5357 5357
8884 8884
50000 50059 *
* - Administered port exclusions.
Then you can run this to stop the reservations
net stop winnat
This should kill the reservations.
For me this came back to having Docker installed. I’ve uninstalled it and the ports are now never reserved.