Error MSB3703 With USTRUCT

Trying to implement 's Grid technique. When I use the UPROPERTY in my game mode and in the UStructs, I get the MSB3703 with code -1. I have tried reinstalling VS Community 2013 but still get the same issue. Anyone have an idea what is causing this?

#pragma once
#include "GameFramework/GameMode.h"
#include "TheBuildingGameMode.generated.h"

UCLASS(minimalapi)
class ATheBuildingGameMode : public AGameMode
{
	GENERATED_BODY()

public:
	ATheBuildingGameMode();
	
	UPROPERTY() //causes a crash
	FBuildingListGrid BFloorListGrid;

};

USTRUCT()
struct FBuildingListRow
{
	GENERATED_USTRUCT_BODY()

		UPROPERTY() //causes a crash
		TArray<int32*> Columns;

	void AddNewColumn()
	{
		Columns.Add(NULL);
	}
	//default properties
	FBuildingListRow()
	{

	}
};

USTRUCT()
struct FBuildingListGrid
{
	GENERATED_USTRUCT_BODY()

		UPROPERTY() //causes a crash
		TArray<FBuildingListRow> Rows;

	void AddNewRow()
	{
		Rows.Add(FBuildingListRow());
	}

	void AddUninitialized(const int32 RowCount, const int32 ColCount)
	{
		//Add Rows
		for (int32 v = 0; v < RowCount; v++)
		{
			AddNewRow();
		}
		
		//Add Columns
		for (int32 v = 0; v < RowCount; v++)
		{
			for (int32 v = 0; v < ColCount; v++)
			{
				Rows[v].AddNewColumn();
			}
		}
	}

	
	//default properties
	FBuildingListGrid()
	{

	}
};

Hey Lion032 thanks for the quick response. Duly noted and I made the change for the int to uint. Unfortunately I am still having the error. Below is the exact error if it helps.

Error	2	error MSB3073: The command ""E:\Game Development\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat" TheBuildingEditor Win64 DebugGame "C:\Users\Jared\Documents\Unreal Projects\TheBuilding\TheBuilding.uproject" -rocket -waitmutex" exited with code -1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	38	5	TheBuilding

int32* is not UPROPERTY-ble type only the following core types are if you want other UP-ble type they must be either uclass, ustract or uenum.

Try moving FBuildingListGrid and FBuildingListRow to the top of the file

Tried moving both structs before the class and still no change. Very frustrating. Thanks again for your help.

This error is consequence of other, go check output tab, not error list tab and see above in log if you dont have other error

Hey , that did the trick. I know now to check that in case I get an unhelpful error. I had copied the code and changed:

TArray<AStaticMeshActor*> Columns;

To:

TArray<uint32*> Columns;

And didn’t realize that would be a problem.

Original code from :

Thanks again for both of your help!