Creating a header file with ustructs

Yes you need to supply it with a default constructor. :slight_smile:
e.g:


USTRUCT()
struct FCoordinate
{
	GENERATED_USTRUCT_BODY()

public:
	int32 X, Y;

        FCoordinate() // Default Constructor.
        {
            x = 0;
            y = 0;
        }

	FCoordinate(int32 TestInteger) // Overloaded Constructor
        {
            x = 0;
            y = TestInteger;
        }
};

Also i recomend not declaring members like that.
You whould probeboly want to have them seperate.

I believe i read somewhere that declaring members like that can cause problems.
And that Epic recommend declaring members separate.