Rebuild failing

I am currently getting the following issues when I tried to replace the name of my character to player/firstpersoncharacter
does anyone know how I can fix this?


@DanM

If you can open unreal, compile there and see what error messages you get there

the error is this:

CompilerResultsLog:Error: Error C:/Users/Owner/Desktop/UnrealGames/FPSShooter/StartingGrounds/Source/StartingGrounds/Player/FirstPersonCharacter.h(113) :
Expected an include at the top of the header: ‘#include “FirstPersonCharacter.generated.h”’

however if I switch #include "Player/FirstPersonCharacter.generated.h"
with #include “FirstPersonCharacter.generated.h”

it tells me no such directory or file exists :confused:

Have you regenerated your project files? And if so what does the header and CPP of that look like?

This is embarrassing but I was changing it in the wrong file, it was the gamemode file that was complaining

Privacy & Terms