Unreal Insights Does not Connect to Server

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’ve come across the following post, but there were no answers there. Does anyone have any idea what’s wrong? Thanks in advance, cheers.

1 Like

Same issue. Yesterday everything was working, and now nothing. I don’t know why. I have even tried to restart UnrealTraceServer, but nothing.

EDIT: I’ve restarted the PC and it works now (don’t know why though)

2 Likes

You need to start the server manually:

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.

1 Like

@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! :grin:

Check to see if you have UnrealTraceServer running locally.
I encountered the same problem, and I found that my local UnrealTraceServer.exe was missing, which prevented me from starting the service.
虚幻引擎5中的Trace | 虚幻引擎 5.4 文档 | Epic Developer Community (epicgames.com)

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):

C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Bin\

Details, to be sure that this fix will work for you:

  1. 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)
  1. Now kill the UnrealTraceServer.exe

  2. Remove everythin from C:\Users\NoName\AppData\Local\UnrealEngine\Common\UnrealTrace\Bin\

  3. 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)

in addition: check your Hyper-V and disable it