[help] Generated .cpp files don't recognize the struct from my .h

Yeah that’s what I was suggesting, I know I’ve seen this before I just can’t remember how I fixed it. There’s no point posting the generated code since you can’t edit it anyway, the source of the problem will be in another file, either the header or MazeGame.cpp.

Do you have the structs in their own header file or in with something else? If there in their own header file that you created manually make sure you have #include “HeaderFileName.generated.h” as the last include. Make sure you include “HeaderFileName.h” in any .cpp files using the struct as well. You probably know all that.

Can you post both the header file for the structs and the normal MazGame.cpp file? (not the generated one)