Expose on Spawn for Server

Hello there,
I am programming a multiplayer game. I need to transfer a structure from character to actor. I’m using “Spawn actor from class” and i am transfering data with expose on spawn variable. But in construction script my data is null. I can’t spawn a actor because my spawn datas in my structure. Sorry for english.


“Item” variable is expose in spawn but when i spawn this actor Item is null.

And yes i am sure item is not null.
Please help me.

Use event BeginPlay instead of Construction Script.

But if i run on offline mod, it works.

When actor is replicated, on clients the construction script is called before replicated variables are received.
Event BeginPlay should be called after receiving the initial bunch of replicated variables.