I have been coding a character class in C++, but I made a type once in the declaration of a parameter for a UFUNCTION, and now almost every time I compile, the gen.cpp file is messed up and doesn’t match what was written in the header file. Is there anything I can do to fix this permanently? Because I have to go into the gen file every time right now to fix it.
The issue is that: FText& OutText is supposed to be: FText OutText But the Engine doesn’t generate it to be that. OutText shouldn’t be a reference variable, but for some reason, the engine keeps thinking it is
Never mind, I apparently wasn’t aware of how to properly declare an FText in an implementable event and that: const FText& OutText is how it’s supposed to be in the method parameter declarations