Spawn actor collision not work

4.10.2

I spawn actor with static mesh (1m_cube) in front, blank project for test, while in single player mode works ok if i check dedicated server my character when jump on top crosses the cube or walk across. its a bug or i forget something?

same problem with 4.11

Hello knack,

I was able to reproduce this issue on our end. I have written up a report ( UE-25687 ) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

nice. thanks!

After further investigation I found that we only sweep the Capsule when doing Character Movement. This is not the case for attached components, so I believe that this is the intended result.

I working in a multiplayer construct game, my english its bad sorry if i not understand right your words, but that mean… i or everybody who want something like this multi-player or have collisions of spawned object in a multi-player environment try with other engine? Since Capsule/Character fail in the collision of the spawned actor/mesh.

I not understand why something that work in single player ok not work multiplayer and its a “intended result” :open_mouth:

Perhaps i not explain the problem right and your are looking to other thing? i can record a video.

If you could provide a video of the issue that may help clarify the issue. Could you provide a video of the issue?

The first seconds playing in single mode OK, and the rest multiplayer FAIL collision with my the character.

The Spawning Actor its a normal BP class actor with a mesh with collision, i spawn to forward camera vector.

I think that can’t be a normal issue. Limit a lot the dev possibility. I can’t believe that problem still there in previous versions and nobody notice

After looking over your video and running some tests I was able to find that this is not the issue that I had originally thought it was. I was able to get this working by using a custom event to spawn the object on the server. The issue that you are running into is that the object is not being created on the server. It is client side only. I have provided an example below to of how to workaround this issue. I have also provided documentation on how to communicate between the server and client.

Example:

Here I created a custom event and set it to run on the server. This allows the client to spawn the actor on the server.

Documentation:

oh thanks! later i check, my first impression was i must missing some concept because later UE4 versions have the same problem and its near impossible a bug like this around all versions.

I already do some client/server test and known how communicate, just ignored i must spawn on server the actor for have a client collision of his own spawned actor.

thanks for your work and care.