What a shame to hear the issue still isn’t resolved. I looked for posts with similar errors to yours and found a few, but they all mention solutions you’ve already tried.
So here’s what I think you could do next:
- Create a new Unreal Engine project (preferably using the same version you’re currently working with), using either the Third Person or *Blank template , it doesn’t matter which.
- Try packaging this empty project.
- If it works, then the problem is definitely in the content of your original project.
- Try disabling any plugins that might be causing conflicts.
- You can also try this:
- Open your project in the Unreal Editor.
- Open the Content Browser .
- In the Content* folder, right-click and select “Audit Assets.”
- Unreal will scan all your assets and display the results in a window.
- Review the results and look for files marked with Errors or Critical Warnings ,those are the most likely causes of the shader compilation failure.
- If the empty project also fails to package, the issue could be with the engine itself. In that case, try the following:
- Delete the folders mentioned above: Saved, Intermediate, and DerivedDataCache.
- Open the Epic Games Launcher.
- Locate your engine version.
- Click the dropdown next to “Launch” and select “Verify.”
This will replace any damaged engine files.
- I also found that reinstalling Visual Studio and the SDKs can sometimes help.