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"

Bug: Replication Issue w/ template project

alt textHi, I'm using the 3rd Person C++ Template. I have not touched the character class blueprints much. Only to add in an on key press event. All I've done was add in the create session, find session , and join session. There's some replication issues that I'm not sure how to fix. If the host moves around before a client has loaded in the skeletal mesh component and character position will not match up.

In the image look at like 1 and line 4 for a visual representation of the problem. Important Note This issue will not occur if the Client 1 does not move at all until Client 2 successfully joins.

Product Version: UE 4.16
Tags:
replication.png (58.0 kB)
more ▼

asked Aug 12 '17 at 03:29 AM in Bug Reports

avatar image

primacy
70 10 12 16

avatar image primacy Aug 12 '17 at 03:59 AM

To Reproduce:

  1. Create brand new 3rd person template

  2. add the dependencies Onlinesubsystemnull (skip is using BP only project)

  3. in defaultengine.ini add [OnlineSubsystem] DefaultPlatformService=Null

  4. Open ThirdPersonCharacter(blueprint) and add the following code shown in the attached picture.

  5. Client 1 presses Q(creates server)

  6. Client 1 moves around in the world

  7. Client 2 presses E(joins session)

  8. Make client 1 move around and you'll see the replication issue.

alt text

codetoaddin.png (80.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hey Primacy,

It looks like you're running into an issue that we have in our database currently: https://issues.unrealengine.com/issue/UE-45947

This is being investigated by our developers, but there are no solid timelines as far as when a fix will be released at this time. Some users were able to find a workaround if you check the linked Answerhub thread on the issues site linked above.

more ▼

answered Aug 14 '17 at 12:36 PM

avatar image

Sean L ♦♦ STAFF
43.7k 485 152 440

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

Solution: Delete the character placed in the level(this is default in the template). This will fix replication issue. If a dev could explain why this would be super awesome. :)

found fix from comment on this link : https://answers.unrealengine.com/questions/603401/replication-in-c-third-person-example-is-broken-in.html

more ▼

answered Aug 12 '17 at 04:05 AM

avatar image

primacy
70 10 12 16

(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