I have a replication problem where if I call a function through the server window (listen server), the script runs and a unit is spawned. However, if I do the same on the client window, the unit does not spawn.
I have already done spawn units of a given class, but these units that I want to spawn belong to a different tree of classes.
Here are some images:
This is the event through which I am testing if this logic works.
This are the calls until the function itself.
This is the effect from calling from the server (the dots are what I am trying to spawn)
This is the effect from calling from the client