# Player State Copy Properties doesn't copy 'reference' properties at all.

**URL:** <https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084>\
**Category:** Programming & Scripting\
**Tags:** playerstate, seamless-travel, unreal-engine, question\
**Created:** [May 27, 2024, 9:40am UTC](https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084 "2024-05-27T09:40:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trixylunamoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@trixylunamoon](https://forums.unrealengine.com/u/trixylunamoon)\
**Post date:** [May 27, 2024, 9:40am UTC](https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084/1 "2024-05-27T09:40:50Z")

</div>

Hello, this may sounds very weird.

But I’m making of Battle Encounter System.  
When character’s attack is successful in OnField Level,  
then calls Seamless Travel from OnField GameMode  
to enter InBattle Level.

So it needs PlayerState to transfer OnField Level to InBattle Level.  
And i’m also making of 4 Characters Party System, so the information of the party is in Player State as well.  
(use cases of how many, and which character is in the party or etc)

```auto
protected:
	// Copy Properties for Seamless Travel
	virtual void CopyProperties(APlayerState* NewPlayerState) override;
	
protected:
	UPROPERTY(Replicated)
	TArray<APawn*> PlayerParty;

```

```auto
void ARBPlayerState::CopyProperties(APlayerState* NewPlayerState)
{
	Super::CopyProperties(NewPlayerState);

	UE_LOG(LogTemp, Warning, TEXT("Copy Properties in New PlayerState"));
	if (ARBPlayerState* NPS = Cast<ARBPlayerState>(NewPlayerState))
	{
		NPS->SetPlayerParty(PlayerParty);
	}
}

```

It calls Copy Properties in InBattle Level very well,  
but the original data of PlayerParty seems to be broken before Copy Properties.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/7/157f904a1fc709454a9b5cadf61068c6dad46233.png)

**\<\< PlayerParty data in PlayerState (before Travel, in OnField Level) \>\>**

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/5/d65a15aa0a6da52102532bb1612e7c054f88c9a5.png)

**\<\< PlayerParty data in Old PlayerState (right after Travel, in the middle of CopyProperties \>\>**

So, eventually new Player State can’t copy properties at all. The original data seems to be gone before Copy Properties.

But the Very weird part is,  
that the ‘Value’ members just work fine.

```auto
protected:
	UPROPERTY(Replicated)
	TArray<APawn*> PlayerParty;

public:
	UPROPERTY(Replicated)
	int32 TestMember = 0;

```

When i tested with integer member (TestMember), it just copies very well like below :

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/b/a9b0f585d29fda4dda587aed2b38ce59950a44f9.png)

  
Why the 'reference' data has gone before CopyProperties ?  
Player State doesn't allow referenced data because it removed from world after traveled ?  
Then where i should place PlayerParty variable?

Thanks for your help. 😭

---

<div class="post-metadata">

**Author:** ![DryreL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dryrel/32/1042339_2.png) [@DryreL](https://forums.unrealengine.com/u/DryreL)\
**Post date:** [August 6, 2026, 9:43am UTC](https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084/2 "2026-08-06T09:43:18Z")

</div>

Bump
