Fixing "RandomPlugin.cpp.obj" : error LNK2011: precompiled object not linked in; image may not run

Problem
Hey Everybody. I had this problem in the past hour and it wouldn’t allow me to package my game and would always end in an “UnrealBuildTool” Failed, and an Unknown Error.

Solution
And the Solution is pretty simple actually, you just need to Uninstall the plugin by going to the Installed Plugins under the Unreal Engine version that you are using find your plugin that you have the issue with and remove it, then reinstall it again.

Hopefully this solution fixed your issue and you won’t face any issues like this again.

1 Like

Just wanted to say I also had this error, and quitting VS and UE and restarting fixed it – thank you!