Help with player map in verse not saving value

I’m having a tough time figuring this one out. I have been following some tutorials online for making player UI, and one thing that is used is a player map of the ui widget I made.

Then I have an init function that appears to work correctly. The playerHUDMap Length (or size) before the init function is 0, and after my character spawns with a spawn pad it’s a size of 1, which is correct.

Then in my other function, I’m calling to update the UI. There are two if statements that check if the persistent player data is available (this one succeeds) and the other if statement to try to grab the player hud widget reference (this one fails). This fails because the map is showing a size of 0 at this point. But this function is called after I’m spawned in and it was 1 earlier from the Print functions outputs outside of this Update function.

Any idea of what is happening that the map is getting cleared or not saving the player with their HUD ui widget?

Could you possibly show the print log of running this code?

I can do that next time I’m loaded into and working on it for sure!

Can I ask a general question - do you think there’s a downside to have player spawners in one device (with their own subscribed OnPlayerSpawn functions and init_player functions) and then pass the player object from that device to another device’s function that takes the player data type? Because that’s how I was getting a player from the spawner - it comes from the player stats manager verse device and then goes to the player ui hud verse device.

I don’t think that should be an issue.