x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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?

Product Version: UE 4.10
Tags:
more ▼

asked Jan 16 '16 at 12:32 AM in Bug Reports

avatar image

knack
158 16 19 29

avatar image knack Jan 19 '16 at 04:04 PM

same problem with 4.11

avatar image Rudy Q ♦♦ STAFF Jan 19 '16 at 07:49 PM

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

avatar image knack Jan 19 '16 at 11:25 PM

nice. thanks!

avatar image Rudy Q ♦♦ STAFF Jan 20 '16 at 09:17 PM

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.

avatar image knack Jan 21 '16 at 01:51 AM

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" :O

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

avatar image Rudy Q ♦♦ STAFF Jan 21 '16 at 01:58 PM

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

avatar image knack Jan 21 '16 at 02:42 PM

https://youtu.be/L6d1tgZOUqE

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

alt text

Documentation:

https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Blueprints/index.html#events

runonseverhelp.png (208.1 kB)
more ▼

answered Jan 21 '16 at 06:23 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

avatar image knack Jan 21 '16 at 06:38 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question