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"

Actor deleted/respawned on client with no reason.

Hey,

I get a very strange behavior on my networked game.

When moving my main actors on the server, they get deleted on the client (only) and respawned when moving back toward the origin.

On the server everything is going well, the pb occurs only on the clients.

The deletion seems to happen a few seconds after the actor is moved at a bad place, so i makes me think of some garbage collection gone mad.

It happens not to far away from the origin (all coordinates less than 20 000), so not a big numbers problem here.

The problem shows in PIE as well as in the packaged game (tested with server and client being on two different computers).

I made a short video showing the problem:

https://www.youtube.com/watch?v=jhBW1cWV1TU

I posted this in the bugs section because i can't see any reason why the client would take the decision to remove an actor by itself.

Any idea of the reason of this behavior ?

Thanks

Cedric

Product Version: UE 4.18
Tags:
more ▼

asked Jan 07 '18 at 08:08 PM in Bug Reports

avatar image

uced
850 75 89 360

avatar image uced Mar 16 '18 at 06:07 AM

Hi, this is still happening and is very penalizing as it limits the playable area with clients.

Any idea ?

Thanks

Cedric

avatar image ambientenergy Oct 18 '18 at 08:17 PM

I've seen this as well with a replicated actor. When I have the actor stop moving after about 3 seconds the client's actor gets deleted. This appears to happen when the actor is no longer relevant. Try setting bAlwaysRelevant=true in c++ or checking the always relevant checkbox on the actor in blueprint.

avatar image uced Oct 21 '18 at 10:44 AM

Hey,

Thanks, it seems that since 4.20 this is no longer enough.

I also had to max NetCullDistanceSquared.

Cheers

Cedric

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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