UE5.3.2 Gameplay Ability System Attributes affecting Packaging

Hi there,

I’ve just finished working on a small project using the Gameplay Ability System in a basic form, with it I’ve also implemented some attributes and am currently attempting to package the project for my portfolio before moving on to a different project.

However, I have been getting this error consistently with any package seemingly for no reason. Stamina is implemented into the Character exactly the same way as Health, which functions perfectly fine with no issues, and in editor, Stamina also works perfectly fine with no issues besides having to reinitialise live coding every time I load the project or it seems to forget that its been added. Below is the error I have been having as well as how the attributes have been implemented into the code. I would be curious if anyone could help with this issue, although not urgent as I have a video showcase of the project at least for my portfolio.

UATHelper: Packaging (Windows): LogBlueprint: Error: [Compiler] The property associated with Stamina could not be found in ‘/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter_C’ from Source: /Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter
PackagingResults: Error: [Compiler] The property associated with Stamina could not be found in ‘/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter_C’ from Source: /Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter
UATHelper: Packaging (Windows): LogInit: Display: Warning/Error Summary (Unique only)
UATHelper: Packaging (Windows): LogInit: Display: LogBlueprint: Error: [Compiler] The property associated with Stamina could not be found in ‘/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter_C’ from Source: /Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter

public :
	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Base Actor Attributes")
		FGameplayAttributeData Health;
		ATTRIBUTE_ACCESSORS(UBaseActorAttributes, Health);

	UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Base Actor Attributes")
		FGameplayAttributeData Stamina;
		ATTRIBUTE_ACCESSORS(UBaseActorAttributes, Stamina);

Anyone able to help with this issue? is making it hard to add a playable version of my prototype to my portfolio