I found a lot of these errors can be solved by deleting the Binaries folder and building again.
If you cannot delete the binary folder it means UE is still alive and holding on files, so you need to end it with the task manager.
check what errors you have in the log (Your project\Saved\Log). If it’s related to dll then there should be line with - Missing … something
You can Ignore this part if you have it (it’s usually at the beginning of the log)- LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126) LogWindows: File ‘aqProf.dll’ does not exist LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126) LogWindows: File ‘VtuneApi.dll’ does not exist LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126) LogWindows: File ‘VtuneApi32e.dll’ does not exist
you should search for LogWindows: Failed to load ‘ …/Your Project/Binaries/Win64/UE4Editor-…dll’ (GetLastError=126) something like this
and after this should be message about missing something
Overall suggestion would be - read your log for missing modules\errors, check your Path variable, try to remember what libraries did you link in your project (maybe you installed something and it was added to the Path automatically). If this is dll related error and you will find the cause - you can download needed dll and place it in the project binaries (well, the path will be in the Log) or add to the Path var
I copied my project from a different computer that had unreal engine on it. The new computer said “do you want to rebuild?”. Chose yes. It rebuilt. Then started the editor. When the editor loading reached 71% it gave me that error.
Deleted binaries like you said. Opened epic launcher, opened the project. Got the rebuild prompt again. Built. Editor loaded past 71%. My project opened. Success!
I had input bindings that disappeared (Im sure it’s due to the copy pasting from PC to PC not because of the deleted binaries) and broke some blueprints in the process. But that’s minor. Nevertheless it happened. So I thought I’d note it here while im writing. Thank you
I know this is an old question, but I found it as I searched for the answer to this, so I thought I’d share my solution:
In my case I was making an editor module for a plugin I was creating, and I forgot to include one of the Plugin dependencies in my .uplugin file. I was using “UEditorAssetLibrary” that is located in the “EditorScriptingUtilities” Plugin rather than directly in the editor source. It compiled file, no errors, but when I went to run the project it gave me the above error. The solution was to add it to the “Plugins” section of the .uplugin file. In the above question, it would need to be added to the .uproject file:
This is an old thread but I also I had the same error now and the title says it all. Only that in my case I updated something that I’m using and because it was now in a different location as the folder name contains the version, I was pointing to the wrong folder. What helped me was reading the log located: Project Folder\Saved\Logs. There look for the last file that was created (ProjectName.log). And inside it were 2 lines that pointed to the problem:
LogWindows: Failed to load 'ProjectLocation/ProjectName/Binaries/Win64/UnrealEditor-ProjectName.dll' (GetLastError=126)
And the next line after that which for me was a clear indication:
LogWindows: Missing import: DllName.dll
And so in my case I had to change to the new location, and removing Binaries and recreating them wouldn’t have helped.