I'm getting this weird error when I attempt to live code my game

This is the message I get at the bottom of my Live Coding window. I don’t know what to do

UbaSessionServer - ERROR opening file C:\Users\Lames\Desktop\Builds\DungeonEscape\Binaries\Win64\UnrealEditor-DungeonEscape.patch_0.pdb for write (The system cannot find the path specified.)
UbaSessionServer - ERROR opening file C:\Users\Lames\Desktop\Builds\DungeonEscape\Binaries\Win64\UnrealEditor-DungeonEscape.patch_0.lib for write (The system cannot find the path specified.)
UbaSessionServer - ERROR opening file C:\Users\Lames\Desktop\Builds\DungeonEscape\Binaries\Win64\UnrealEditor-DungeonEscape.patch_0.exe for write (The system cannot find the path specified.)
UbaSessionServer - ERROR opening file C:\Users\Lames\Desktop\Builds\DungeonEscape\Binaries\Win64\UnrealEditor-DungeonEscape.patch_0.exp for write (The system cannot find the path specified.)
Error exit code: 9001
Failed to link patch (0.000s) (Exit code: 0xFFFFFFFF)

I would highly suggest moving your project from your desktop.
Most of the main windows folders and user documents are under stricter rules enforced by the account and system protection services.

Try moving it to a normal folder with less strict write restrictions.
You can then select the folder, right click it and under properties turn off “Read only”.

Also check your drive space. Another problem could be lack free space to finish a larger file operation.

After moving the project try deleting it’s temp folders
-intermediate
-deriveddatacache
-binaries
and then regenerate the project (right click uproject file and regenerate)
The folders should be recreated.
Try rerunning the project and see if the files are rebuild correctly

1 Like