I am using VS2026 now, everything was okay until I got such errors even after successful builds:
What cause such error during compilation?
Please help me to resolve this issue!
Ruslan
Hello there @Ruslanmin2!
Checking with my peers, those errors should not be coming from your game’s code, rathet than from the engine’s automation tools. They seem to be looking for reference files that no longer exist, yet the project builds fine, so they are not critical. If you want to get rid of these errors, please test the following:
Instead of hitting “Build Solution”, right click your game project in the Explorer and select “Build”, to ensure you are only building your game project, and nothing else
Filter your error list, use the dropdown menu and set it to “Build Only”, which will hide errors that are not tied to the build itself
In case you migrated your project, it’s worth regenerating your project files, by right clicking your .uproject file, and select “Generate Visual Studio project files”
Finally, since you are on VS 2026, that version only works with UE 5.8, while previous versions of the engine won’t support it properly. Make sure your setup is in order by checking all components, using the UE doc below: