Upgrade project from ue4.27 to ue5.4.

code 6 is just “something happend”.

To find what it’s exactly, look at the build log in the output tab:

And don’t forget to select show output from: build:
изображение

And then you can look for exact errors here.