I checked whether i put certain module in myProject.Build.cs file… I am sure I did.
It was working fine, but why on earth it said “C1083 no GeneratedFile.h” just now!
Error message : Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: ‘NCFT_GameInstance.generated.h’: No such file or directory NoCountryForThem417 D:\NoCountryForThem\Programming\Unreal\NoCountryForThem417\NoCountryForThem417\Source\NoCountryForThem417\NCFT_GameInstance.h 11
Close the error list window and look what is the actual error message from the compiler (in the log window). It’s probably something entirely different.
@Marjane: it seems we are getting the same error (I’ve opened a topic too) even though probably for different reasons, in my case I wanted to put my generic functions in a header I made and access them from all the classes from inside Blueprint, even though no idea if it is even feasable…
Anyway have you checked if you actually have this generated.h somehwere?
There is this link(below) where the answer explain how he forced it to created that .generated.h file, have you tried it?
Open your Solution (in your project folder, the .sln file), click on Build->Rebuild Solution, but before that make sure you’ve opened the Output window
(Debug->Window->Output) and chose the Build tab, so you can see the output.
Also if you go under Tools->Options and then Projects and Solutions->**Build and Run , **from there you can crank up the verbosity of the Output, from Minimal all the way up to Diagnostic, though probably that is too much. Hope I’ve answered to the right thing xD