TArray nesting issue, Error: '__faststorefence': is not a member of 'FWindowsPlatformMisc'

Hey all, I’m getting the following errors:

1> ‘__faststorefence’: is not a member of ‘FWindowsPlatformMisc’

2> ‘_InterlockedCompareExchange’: none of the 4 overloads could convert all the argument types

3> ‘_InterlockedCompareExchange’: is not a member of ‘FWindowsPlatformAtomics’

Here’s my code:

#pragma once
    
#include <Object.h>
#include <Array.h>
#include <UObject/ObjectMacros.h>
#include <UObject/ScriptMacros.h>
#include "FFunctionStructs.generated.h"


USTRUCT(BlueprintType)
struct FMessageUX
{
	GENERATED_USTRUCT_BODY()
public:
	UPROPERTY(BlueprintReadWrite)
		FString Message;
};

USTRUCT(BlueprintType)
struct FMessageUXGroup
{
	GENERATED_USTRUCT_BODY()
public:
	UPROPERTY(BlueprintReadWrite)
		TArray<FMessageUX> Messages;
	UPROPERTY(BlueprintReadWrite)
		TArray<int32> Intervals;
};

I forgot to add this file to the PCH, after adding it, it now works.

What did you meant by adding it to the PCH? What did you actually done? I have the same trouble.