# \#playerstate

**URL:** https://forums.unrealengine.com/tag/playerstate/1863.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Player State Copy Properties doesn't copy 'reference' properties at all.](https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084)

<div class="topic-metadata">

**Author:** [@trixylunamoon](https://forums.unrealengine.com/u/trixylunamoon)\
**Replies:** 1\
**Last updated:** [August 6, 2026, 9:43am UTC](https://forums.unrealengine.com/t/player-state-copy-properties-doesnt-copy-reference-properties-at-all/1875084 "2026-08-06T09:43:18Z")

</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 n…

---

## [One player state is not being assigned a Bp type ](https://forums.unrealengine.com/t/one-player-state-is-not-being-assigned-a-bp-type/2710723)

<div class="topic-metadata">

**Author:** [@Johnyakuza89](https://forums.unrealengine.com/u/Johnyakuza89)\
**Replies:** 1\
**Last updated:** [April 3, 2026, 7:33pm UTC](https://forums.unrealengine.com/t/one-player-state-is-not-being-assigned-a-bp-type/2710723 "2026-04-03T19:33:10Z")

</div>

OK so i have this setup that should give each player a set colour. on post login in the game mode it cast to the player state gets all actors of the Blueprint of the player type then it sets that as the player type of th…

---

## [\[BP\] PlayerState gets spawned when Player leaves](https://forums.unrealengine.com/t/bp-playerstate-gets-spawned-when-player-leaves/318050)

<div class="topic-metadata">

**Author:** [@eXi](https://forums.unrealengine.com/u/eXi)\
**Replies:** 14\
**Last updated:** [January 14, 2025, 8:48am UTC](https://forums.unrealengine.com/t/bp-playerstate-gets-spawned-when-player-leaves/318050 "2025-01-14T08:48:40Z")

</div>

Hey there, i hope that this is NOT a bug, but i have no idea where it comes from. I have my Lobby setup where a Player Hosts a Game as a listen Server and Clients can connect. This is all running well. My PlayerState …

---

## [How can I Change The Name in PlayerState BP?](https://forums.unrealengine.com/t/how-can-i-change-the-name-in-playerstate-bp/417337)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_272abbce](https://forums.unrealengine.com/u/anonymous_user_272abbce)\
**Replies:** 12\
**Last updated:** [September 3, 2024, 10:52pm UTC](https://forums.unrealengine.com/t/how-can-i-change-the-name-in-playerstate-bp/417337 "2024-09-03T22:52:20Z")

</div>

Actually I want to change the name of the Player Name (of PlayerState BP), is it there any way to do this,??? from where can i change this???

---

## [Player state not valid after ServerTravel](https://forums.unrealengine.com/t/player-state-not-valid-after-servertravel/473321)

<div class="topic-metadata">

**Author:** [@TheFlow3k](https://forums.unrealengine.com/u/TheFlow3k)\
**Replies:** 11\
**Last updated:** [August 26, 2024, 8:23am UTC](https://forums.unrealengine.com/t/player-state-not-valid-after-servertravel/473321 "2024-08-26T08:23:07Z")

</div>

Hello, I have a problem in a multiplayer game and player state. Actually I do server travel with seamless travel from a lobby-level to gameplay-level. Often everything works fine, but sometimes on Clients they somehow d…

---

## [Making a score / currency system for multiplayer](https://forums.unrealengine.com/t/making-a-score-currency-system-for-multiplayer/1877165)

<div class="topic-metadata">

**Author:** [@Kev\_Dogg](https://forums.unrealengine.com/u/Kev_Dogg)\
**Replies:** 0\
**Last updated:** [May 28, 2024, 3:03pm UTC](https://forums.unrealengine.com/t/making-a-score-currency-system-for-multiplayer/1877165 "2024-05-28T15:03:43Z")

</div>

Hello, I’m currently trying to make a multiplayer score system for my game and would appreciate some insight on how I’d go about making it. In a level all players score will start at 0, and for every object a player br…

---

## [Pawn PlayerState reference on client is sometimes NULL](https://forums.unrealengine.com/t/pawn-playerstate-reference-on-client-is-sometimes-null/325481)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1d9d25db](https://forums.unrealengine.com/u/anonymous_user_1d9d25db)\
**Replies:** 26\
**Last updated:** [April 19, 2024, 2:17pm UTC](https://forums.unrealengine.com/t/pawn-playerstate-reference-on-client-is-sometimes-null/325481 "2024-04-19T14:17:09Z")

</div>

I have run into some problems with PlayerState reference inside Pawn class. PlayerState is sometimes NULL on clients. This happens right after loading up a level with a server and multiple clients. It is still NULL if yo…

---

## [PlayerState is null on clients](https://forums.unrealengine.com/t/playerstate-is-null-on-clients/314013)

<div class="topic-metadata">

**Author:** [@AndrewFord](https://forums.unrealengine.com/u/AndrewFord)\
**Replies:** 8\
**Last updated:** [February 6, 2024, 7:04am UTC](https://forums.unrealengine.com/t/playerstate-is-null-on-clients/314013 "2024-02-06T07:04:45Z")

</div>

HI! i have some issue with PlayerState object replication in multiplayer. For example, i’ve created ThirdPersonExample and in level blueprint i put this nodes to test: I hit play in editor with 2 clients and dedica…

---

## [How to use CopyProperties of PlayerState after RestartGame?](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518)

<div class="topic-metadata">

**Author:** [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Replies:** 3\
**Last updated:** [January 14, 2024, 11:22am UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518 "2024-01-14T11:22:35Z")

</div>

Hi there. I am trying to maintain scoreboard values which are stored in player states. Basically I have a simple pvp game where you have kill/death ratio and when a player wins (1v1), the game automatically restarts, cal…

---

## [Best practice to store cross-level state](https://forums.unrealengine.com/t/best-practice-to-store-cross-level-state/1593260)

<div class="topic-metadata">

**Author:** [@Count.Numbers](https://forums.unrealengine.com/u/Count.Numbers)\
**Replies:** 3\
**Last updated:** [January 8, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/best-practice-to-store-cross-level-state/1593260 "2024-01-08T13:54:24Z")

</div>

Hey all, I’m developing a single player game with many levels. The player transitions between those levels frequently, and both the levels and the players need to preserve state. E.g., door actors need to remember wheth…

---

## [NetMulticast: reliable & unreliable update frequencies are different](https://forums.unrealengine.com/t/netmulticast-reliable-unreliable-update-frequencies-are-different/408664)

<div class="topic-metadata">

**Author:** [@Orakga](https://forums.unrealengine.com/u/Orakga)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 12:24pm UTC](https://forums.unrealengine.com/t/netmulticast-reliable-unreliable-update-frequencies-are-different/408664 "2023-12-21T12:24:17Z")

</div>

Hi, this is less of a question (now that I’ve found a solution that works for my purpose) and more of a report of “unexpected” behavior differences between reliable and unreliable NetMulticasts. First, how I’ve discover…

---

## [Help! How to get the player who clicked and the one who is gettting clicked](https://forums.unrealengine.com/t/help-how-to-get-the-player-who-clicked-and-the-one-who-is-gettting-clicked/1246705)

<div class="topic-metadata">

**Author:** [@Devilondetails](https://forums.unrealengine.com/u/Devilondetails)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 6:07am UTC](https://forums.unrealengine.com/t/help-how-to-get-the-player-who-clicked-and-the-one-who-is-gettting-clicked/1246705 "2023-08-01T06:07:38Z")

</div>

So, I am making a multiplayer game where I want it so that when a player1 who is playing the game sees the avatar of player 2 he can click on that avatar and a widget get’s created showing profile of the Player 2, also t…

---

## [How to get Player State reference in UI Widget Blueprint graph?](https://forums.unrealengine.com/t/how-to-get-player-state-reference-in-ui-widget-blueprint-graph/484073)

<div class="topic-metadata">

**Author:** [@Didyeah](https://forums.unrealengine.com/u/Didyeah)\
**Replies:** 5\
**Last updated:** [June 23, 2023, 8:39am UTC](https://forums.unrealengine.com/t/how-to-get-player-state-reference-in-ui-widget-blueprint-graph/484073 "2023-06-23T08:39:25Z")

</div>

I am trying to bind some of my HUD interface to the current player PlayerState variables but I can’t seem to find a way to get a reference to my custom PlayerState from the widget blueprint graph. It works just fine usi…

---

## [Where's the proper place to store the state of an NPC?](https://forums.unrealengine.com/t/wheres-the-proper-place-to-store-the-state-of-an-npc/417461)

<div class="topic-metadata">

**Author:** [@chiefGui](https://forums.unrealengine.com/u/chiefGui)\
**Replies:** 5\
**Last updated:** [April 10, 2023, 12:52am UTC](https://forums.unrealengine.com/t/wheres-the-proper-place-to-store-the-state-of-an-npc/417461 "2023-04-10T00:52:42Z")

</div>

Hey guys! Creatin’ a multiplayer game with both Player Controlled Characters (doh) and Characters controlled by the AI (aka monsters, creatures, enemies, whatever.). I’m using the PlayerState to store Current HP, Curre…

---

## [Player array in the game state has the wrong player state classes](https://forums.unrealengine.com/t/player-array-in-the-game-state-has-the-wrong-player-state-classes/420383)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aa967a7a](https://forums.unrealengine.com/u/anonymous_user_aa967a7a)\
**Replies:** 2\
**Last updated:** [March 25, 2023, 7:11pm UTC](https://forums.unrealengine.com/t/player-array-in-the-game-state-has-the-wrong-player-state-classes/420383 "2023-03-25T19:11:41Z")

</div>

As explained in the title, when calling “player array” from my custom game state I don’t get the classes I’m supposed to get. I have: DeathMatchGameMode (child blueprint of my BasicGameMode which is a child of GameMode…

---

## [\[Multiplayer\] Get player array & set it on UMG for both server/clients](https://forums.unrealengine.com/t/multiplayer-get-player-array-set-it-on-umg-for-both-server-clients/432015)

<div class="topic-metadata">

**Author:** [@Debaucher](https://forums.unrealengine.com/u/Debaucher)\
**Replies:** 6\
**Last updated:** [January 25, 2023, 10:54pm UTC](https://forums.unrealengine.com/t/multiplayer-get-player-array-set-it-on-umg-for-both-server-clients/432015 "2023-01-25T22:54:22Z")

</div>

The script only prints the host’s player name. Clients aren’t being produced on the server nor other clients. How can I get this to work properly? Do I need to be running something on server? Thanks in advance!

---

## [CopyProperties for non-seamless travel](https://forums.unrealengine.com/t/copyproperties-for-non-seamless-travel/415224)

<div class="topic-metadata">

**Author:** [@WeiLiang](https://forums.unrealengine.com/u/WeiLiang)\
**Replies:** 1\
**Last updated:** [August 14, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/copyproperties-for-non-seamless-travel/415224 "2022-08-14T13:46:46Z")

</div>

At the start of my game, the player will set his name, press start to create a session / find and join session. Upon creating / joining, player will enter Lobby from MainMenu, both are maps. I believe this is non-seamles…

---

## [PlayerState-\>GetPlayerName() char limit???](https://forums.unrealengine.com/t/playerstate-getplayername-char-limit/617330)

<div class="topic-metadata">

**Author:** [@fractylan](https://forums.unrealengine.com/u/fractylan)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 6:54pm UTC](https://forums.unrealengine.com/t/playerstate-getplayername-char-limit/617330 "2022-07-29T18:54:12Z")

</div>

Hey all, question about OnlineSubsystem and player names. My Steam handle is quite long (21 characters) and upon retrieving the name from PlayerState-\>GetPlayerName() it’s returned cut off at 20 chars. At first I though…

---

## [Player state invalid after seamless travel causing destroy session](https://forums.unrealengine.com/t/player-state-invalid-after-seamless-travel-causing-destroy-session/389950)

<div class="topic-metadata">

**Author:** [@CelestialCel](https://forums.unrealengine.com/u/CelestialCel)\
**Replies:** 6\
**Last updated:** [March 15, 2022, 2:29am UTC](https://forums.unrealengine.com/t/player-state-invalid-after-seamless-travel-causing-destroy-session/389950 "2022-03-15T02:29:33Z")

</div>

Hey everyone, I stumbled upon an issue with the Playerstate being invalid after seamless travel, after match is InProgress(which waits until all players are connected). I have a custom PlayerState, and this was set in t…

---

## [How can I get a character from a playerstate?](https://forums.unrealengine.com/t/how-can-i-get-a-character-from-a-playerstate/468551)

<div class="topic-metadata">

**Author:** [@dellis23](https://forums.unrealengine.com/u/dellis23)\
**Replies:** 3\
**Last updated:** [February 27, 2022, 4:17pm UTC](https://forums.unrealengine.com/t/how-can-i-get-a-character-from-a-playerstate/468551 "2022-02-27T16:17:30Z")

</div>

I managed to pull this off by setting it up in the GameMode after PostLogin. I had to add a delay in order to get PlayerState and Controlling pawn without getting None objects back (or perhaps it was just for PlayerStat…

---

## [persist playerstate information across non seamless travels](https://forums.unrealengine.com/t/persist-playerstate-information-across-non-seamless-travels/486209)

<div class="topic-metadata">

**Author:** [@wavebird](https://forums.unrealengine.com/u/wavebird)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 7:42pm UTC](https://forums.unrealengine.com/t/persist-playerstate-information-across-non-seamless-travels/486209 "2021-07-14T19:42:41Z")

</div>

Is there a way to persist information between a non seamless server travel? Currently, I have the pre game lobby level with a PreGameLobbyPlayerState, and players can choose their team on the lobby, and the team number …

---

## [Player state not accessible at other clients](https://forums.unrealengine.com/t/player-state-not-accessible-at-other-clients/483879)

<div class="topic-metadata">

**Author:** [@ishtmeet\_singh](https://forums.unrealengine.com/u/ishtmeet_singh)\
**Replies:** 0\
**Last updated:** [May 25, 2021, 12:08pm UTC](https://forums.unrealengine.com/t/player-state-not-accessible-at-other-clients/483879 "2021-05-25T12:08:50Z")

</div>

I am trying to access some other player’s player state locally but it is getting null. Actually I have a bullet and when it hits a player I am trying to access it’s player state within the bullet class by : PlayerHit-\>G…

---

## [Getting PlayerState on Server](https://forums.unrealengine.com/t/getting-playerstate-on-server/481025)

<div class="topic-metadata">

**Author:** [@Anoberia](https://forums.unrealengine.com/u/Anoberia)\
**Replies:** 1\
**Last updated:** [March 29, 2021, 11:26am UTC](https://forums.unrealengine.com/t/getting-playerstate-on-server/481025 "2021-03-29T11:26:52Z")

</div>

Hello, I want to get PlayerState in BeginPlay. I saw in forums, PlayerStates replicate time is depends on internet connection so we shouldn’t use delay in BeginPlay. But there’s a function called OnRep\_PlayerState and it…

---

## [Multiplayer - PlayerState's SetPlayerName not replicating](https://forums.unrealengine.com/t/multiplayer-playerstates-setplayername-not-replicating/478996)

<div class="topic-metadata">

**Author:** [@Chumble](https://forums.unrealengine.com/u/Chumble)\
**Replies:** 0\
**Last updated:** [February 19, 2021, 7:57pm UTC](https://forums.unrealengine.com/t/multiplayer-playerstates-setplayername-not-replicating/478996 "2021-02-19T19:57:57Z")

</div>

I’m trying to use the “SetPlayerName” function on the server to set the player’s name but I am getting very inconsistent results. If I do not use SetPlayerName at all, the server will return an empty string when using G…

---

## [Player state Casting fails on event begin play?](https://forums.unrealengine.com/t/player-state-casting-fails-on-event-begin-play/309120)

<div class="topic-metadata">

**Author:** [@Ganesh\_Mune\_1](https://forums.unrealengine.com/u/Ganesh_Mune_1)\
**Replies:** 12\
**Last updated:** [February 16, 2021, 8:00pm UTC](https://forums.unrealengine.com/t/player-state-casting-fails-on-event-begin-play/309120 "2021-02-16T20:00:59Z")

</div>

Hello friends, I am trying to get the variable from player state in my multiplayer game at the event begin play but casting fails, And if I try that casting on key event press that time I am able to access the value fr…

---

## [Any example project that shows how to use gameinstance, gamemode?](https://forums.unrealengine.com/t/any-example-project-that-shows-how-to-use-gameinstance-gamemode/477260)

<div class="topic-metadata">

**Author:** [@galaxy\_Lee](https://forums.unrealengine.com/u/galaxy_Lee)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/any-example-project-that-shows-how-to-use-gameinstance-gamemode/477260 "2021-01-14T15:20:17Z")

</div>

I downloaded unreal tournament source code. but too many lines, too complex to study. any simple example source code that shows how to use gameInstance, gameMode, playerState ?

---

## [Player State Only On Server Issue](https://forums.unrealengine.com/t/player-state-only-on-server-issue/472961)

<div class="topic-metadata">

**Author:** [@Grayve\_Rose](https://forums.unrealengine.com/u/Grayve_Rose)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 9:15am UTC](https://forums.unrealengine.com/t/player-state-only-on-server-issue/472961 "2020-10-15T09:15:36Z")

</div>

Doing some simulated multiplayer testing on 1 machine, and noticed that if i use a game mode that inherits from Game Mode class, Player State for player controllers only runs on the server, it isnt replicating to clients…

---

## [Trying to get more than one "Score" per player](https://forums.unrealengine.com/t/trying-to-get-more-than-one-score-per-player/470353)

<div class="topic-metadata">

**Author:** [@Bruco](https://forums.unrealengine.com/u/Bruco)\
**Replies:** 2\
**Last updated:** [August 28, 2020, 12:00pm UTC](https://forums.unrealengine.com/t/trying-to-get-more-than-one-score-per-player/470353 "2020-08-28T12:00:07Z")

</div>

Hello! So I’m trying to store two score values per player, one is kills and another one is points. Every kill they make earns them 20 points, and they can spend 40 to buy an item. I tried using Player state to store thos…

---

## [Why can't I cast to PlayerState inside SaveGame Blueprint?](https://forums.unrealengine.com/t/why-cant-i-cast-to-playerstate-inside-savegame-blueprint/463393)

<div class="topic-metadata">

**Author:** [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Replies:** 4\
**Last updated:** [May 24, 2020, 2:59pm UTC](https://forums.unrealengine.com/t/why-cant-i-cast-to-playerstate-inside-savegame-blueprint/463393 "2020-05-24T14:59:23Z")

</div>

I need to read some variables from a PlayerState and I can cast into it without any issues during gameplay. If I try to cast to it in a SaveGame Blueprint, I don’t have the option to add nodes “Get Player Controller (0)”…

---

## [Player array does not replicate](https://forums.unrealengine.com/t/player-array-does-not-replicate/464649)

<div class="topic-metadata">

**Author:** [@anon685683](https://forums.unrealengine.com/u/anon685683)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 12:15pm UTC](https://forums.unrealengine.com/t/player-array-does-not-replicate/464649 "2020-05-10T12:15:42Z")

</div>

After upgrading my game to 4.21, the player array was no longer replicated. Only the client receives no names. My attempts to change the source code didn’t work either. Please help me! AGreE70

[Next page](https://forums.unrealengine.com/tag/playerstate/1863.md?match_all_tags=true&page=1&tags%5B%5D=playerstate)
