In other words, the errors are by an overwhelming majority of the same type, complaining about not being able to find the particular source file in the title. There are some subsequent errors that appear to be a result of the question asked herein, such as the following:
#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "CharacterSkill.generated.h"
UCLASS()
// On UCharacterSkill declaration, declaration is incompatible with "int UCharacterSkill()"
class PROJECTNAME_API UCharacterSkill : public UObject
{
GENERATED_BODY()
//...
// Constructor
UCharacterSkill(); // explicit type is missing ('int' is assumed)
}
I have tried deleting my .vs, Intermediate, and Saved directories and .sln file followed by regenerating my VS files by right-clicking on my .uproject. I have also checked for typos in my UFUNCTION() macro parameters and have deleted all potentially problematic meta parameters therein. Are there any additional solutions to this kind of problem?
I’m having the same problem with UE4.26.1 with Visual Studio version 16.8.5. I haven’t been able to find any solution for this issue, so I reported it to Epic (I’ll post a link to the relevant page in the issues tracker once I can see it there).
I’ve experienced this issue several times, but when it happens my code usually compiles just fine (unless there’s an unrelated error in my code). It’s probably best to just ignore those error messages (as annoying as they are) and let them disappear on their own (which to me they usually do).