Include Generated.h Red lines

Hello!

I keep getting this annoying error in Unreal Engine 4.26 with the BullCowCartridge.h

For the first line, it says it cannot open source file BullCowCartridge.generated.h.
And for the class declaration, it says that it expected a declaration.

My code compiles and runs fine, but it is extremely annoying that it just stays there. Anyone have any idea of how to solve this?

What version of Visual Studio are you using? And is your project on an SSD? It could just be taking a while to index.

Hello!

Just saw your reply. So, apparently the red lines just disappeared by themselves after a while.
Just getting used now with how slow is Unreal’s reactions to change.

Thank you for your response.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms