# Replication of widget, which shows name and amount of dropped item

**URL:** <https://forums.unrealengine.com/t/replication-of-widget-which-shows-name-and-amount-of-dropped-item/1594714>\
**Category:** Multiplayer & Networking\
**Tags:** Replication, replicate, unreal-engine, Blueprint, question, replicating\
**Created:** [January 6, 2024, 11:00pm UTC](https://forums.unrealengine.com/t/replication-of-widget-which-shows-name-and-amount-of-dropped-item/1594714 "2024-01-06T23:00:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bystric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bystric](https://forums.unrealengine.com/u/bystric)\
**Post date:** [January 6, 2024, 11:00pm UTC](https://forums.unrealengine.com/t/replication-of-widget-which-shows-name-and-amount-of-dropped-item/1594714/1 "2024-01-06T23:00:38Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/1/911c37dbba9c8f3f3632b2590287978e021c1e34.jpeg)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/7/ad7583d4a5fbd049e00dac43b98e54ce1e4db698.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/6/f/76f824d16433ac7d5c33c8287461b3e241e40cb1.png)  
In first 3 pictures you can see it working locally. When your inventory is almost full and you pick up only 2 pieces, the widget changes from 5 → 3. This can’t be seen by other clients. Problem is only with widget. The actuall amount there is I have already figured out and seems to work.  
My atempt to replicate widget is this… But I’m always getting “accessed none trying to read Pop Up Ref” in ThirdPersonCharacter.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/4/1e4087b77746ba6353c040f27b82bf9e228244df.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/3/043d8a130f91b6bef5fcb11ac77de995544f182b.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/7/dd7508e73d6cc45e2be9010f301cf6c1552c9149.png)

---

<div class="post-metadata">

**Author:** ![GarnerP57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarnerP57](https://forums.unrealengine.com/u/GarnerP57)\
**Post date:** [January 6, 2024, 11:17pm UTC](https://forums.unrealengine.com/t/replication-of-widget-which-shows-name-and-amount-of-dropped-item/1594714/2 "2024-01-06T23:17:45Z")

</div>

Widgets are created locally and therefore other clients will have a different widget reference which is most likey why you get the null reference. Do you set the Widget reference only once?

Otherwise the issue is with the MasterPickupActor specifically or you are not setting the replicated variables on the Server.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [January 9, 2024, 3:09am UTC](https://forums.unrealengine.com/t/replication-of-widget-which-shows-name-and-amount-of-dropped-item/1594714/3 "2024-01-09T03:09:28Z")

</div>

Use Rep\_notify variables in the actor. Replicates must be ticked in the actor settings.

Use the OnRep function that’s generated for the variable to update the widget.
