So packaging for Windows fails immediately with the following error in the output log:
This is on a fresh install of Unreal Engine 4.27.2 on a fresh install of Windows 11. I have installed Visual Studio and the Windows SDK…
UATHelper: Packaging (Windows (64-bit)): ERROR: Failed to load script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation.dll' or one of its dependencies. Systemet finner ikke angitt fil.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\Bruker\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
PackagingResults: Error: Failed to load script DLL: C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll: Could not load file or assembly 'AutomationScripts.Automation.dll' or one of its dependencies. Systemet finner ikke angitt fil.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error
“Could not load file or assembly ‘AutomationScripts.Automation.dll’ or one of its dependencies.”
When looking for the file inside:
"C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\AutomationScripts"
I find these two files, but they end with “.old”, removing “.old” just makes the engine rename them “.old” whenever restarted…
I’ve even tried transfering the same file from another computer where packaging works ( and where it isn’t named “.old” ) but it doesn’t help, this unreal install renames it “.old” anyway…
Any help here is appreciated. I can’t Package at all on this computer…