Hi, I’m having a very strange issue. I am using UE 4.17.2 currently. For my project I need to create a USTRUCT() struct but any time I create it, my project will crash on boot with no error code or stack available. Then if I comment out the whole code if my header file, then the project will load fine. So I know it’s this file, but I cannot seem to figure out what’s wrong. I followed the tutorial for setting up a struct one of the Unreal documentation pages. Can someone please help me figure out what I’m doing wrong with this script? Everything is minimal because I was worried that parameters were wrong on UPROPERTY()'s. Thanks ahead of time for any help you guys can give.
#pragma once
#include "CoreMinimal.h"
#include "Engine/UserDefinedStruct.h"
#include "SkeletalMeshTypes.h"
#include "Item_Data.generated.h"
/**
* BlueprintReadWrite, Category = "Default"
*/
USTRUCT(BlueprintType)
struct FItem_Data
{
GENERATED_USTRUCT_BODY()
UPROPERTY()
FString Name;
UPROPERTY()
FString Description;
UPROPERTY()
float Value;
UPROPERTY()
float Damage_Physical;
UPROPERTY()
float Damage_Ice;
UPROPERTY()
float Damage_Poison;
UPROPERTY()
float Damage_Thunder;
UPROPERTY()
float Damage_Fire;
UPROPERTY()
float Defense_Physical;
UPROPERTY()
float Defense_Poison;
UPROPERTY()
float Defense_Thunder;
UPROPERTY()
float Defense_Fire;
UPROPERTY()
float Defense_Ice;
UPROPERTY()
USkeletalMesh *Equip_Model_Left;
UPROPERTY()
USkeletalMesh *Equip_Model_Right;
};