For Each Loop of Replicated Array does not pass Array Element

Hello everyone, I am a new to Unreal and I have encountered an issue that has stumped me for the past week and I cannot figure it out on my own. In summary:

I have a multiplayer inventory system. When adding an item I run all of the logic (find empty slot, place item etc) on the server, and once the item is finished being placed, it updates the array of all of the items (array of objects that holds info on item). This array is rep_notified, and the rep_notify works and gets triggered.

On the clients inventory widget, I have a for loop that goes through the replicated array and adds the items. The issue is that the array is replicated (I can hover over the array in break mode and all of the data is there), but when I try to get an item from the array, it says that the reference is unknown. Everything works fine when the host picks up the item, it only happens when a client picks up the item.

I have a feeling that there is something that I dont know about how u_objects are replicated (you cannot tick that for replication, so I am probably setting the owner of the u_object wrong or something), as I can replicate actors with normal variables (doors etc) fine, I just don’t know how to find the information that I am missing about u_objects.

Could someone please explain why this is happening, or at least point me in a direction of where I should look to find out?

Thank you in advance.

What I suspect is happening is that the array is replicated but the actual objects it holds are not present on the client.

See if you can access the item in the client when they are being created and before they are added to the inventory.