Private member TArray disapears at runtime

I’m declaring a TArray in the header and have verified it exists in the constructor with a size of 0. But when I try to access it later on poof it’s gone.

.h

private:
	UPROPERTY()
	TArray<UWorldInstanceData*> InstanceList;

.cpp

UWorldInstanceData* UWorldInstanceManager::GetWorldInstanceData(int32 InWorldInstanceId, bool bCreate)
{
	for (int32 i = 0; i < InstanceList.Num(); i++)  <-- crashes here
	{

Hi,
I tried to sort out your problem, but I could not reproduce this povvedenie, could you provide more information?

I had constructed the UObject incorrectly, looks like it was NULL from the beginning…