Survival Game Error

I am using the Survival game code (GitHub - tomlooman/EpicSurvivalGameSeries: Third-person Survival Game for Unreal Engine 4 (Sample Proj) and I am able to compile the code with no problem, but when i try to edit the game mode…

Lets say all i did was added one line with 0 code and i get errors… please review images… image one is normal code from github complie works fine… image two is one line added with tons of errors…how does this happen? I tried reinstalling VS, generating project files again…

Also i was told that “UE4 merges cpp files before compile, adding empty line changes timestamp of gamemode, and sudenly there is include missing, just add #include “BehaviorTreeComponent.h” after #include “SMutator.h” and it will compile …”

Which i have done …got rid of those errors and now i have new errors :confused: