Hello everyone, I’ve been struggling with the problem myself for a long time. What clearly helped with the problem: in the UE editor itself, go to platforms - Windows (or whatever you want) - click on your device - Force Update Device
I have updated from the second time, after that he starts swearing at another error "Unreal engine PackagingResults: Error: System.NullReferenceException: Object reference not set to an instance of an object
Next, we go to the directory “Your project\Intermediate\Source”, select everything, cut it out, create a folder here and throw everything there, click packaging in the editor.