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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Assertion fail on NetGUID in DataReplication under certain conditions (with repro )

Assertion failed: !ObjectNetGUID.IsDefault() && ObjectNetGUID.IsValid() [DataReplication.cpp] [Line: 248]

This occurs under the following situation:

  • A game instance, Instance A, is running as a listen server. It uses seamless travel when changing levels.

  • A game instance, Instance B, connects to Instance A.

  • There are adverse network conditions for the connection between Instance A and B.

  • The game code replicates Actor subobjects, either explicitly through custom UObject subclasses (with the proper overrides for subobject replication) or through Actor components set for replication.

  • Instance A performs a seamless travel to the current level, restarting the match.

  • The map loads quickly, and then immediately spawns the replicated Pawn actor(s) with the replicated subobjects and properties.

  • There is a chance that Instance B will exit with the assertion above.

The chance is small, and depends on networking conditions. Setting these on the server instance:

  • Net PktLag=150

  • Net PktLagVariance=50

seems to give a roughly 10% chance to trigger the assertion on each level travel on the remote client. The initial travel to connect to the server seems to never trigger the assertion.

Additionally, a related warning appears immediately before the assertion is triggered:

[2016.01.11-05.22.37:579][187]LogNetPackageMap:Warning: GetObjectFromNetGUID: Attempt to reassign read-only guid. FullNetGUIDPath: [188]GameplayPawn_8.[192]TestSubobject

I have created a simple project that can reproduce the issue. There are no Blueprint assets, just two simple levels and C++ code. Download the project as a .zip

Build the project and run two instances with -game. In the instance you intend to act as a server, press H to travel to the 'gameplay' level. This instance will now be listening for clients. In the other instance, press J, which will open a connection to 127.0.0.1, joining the listen server that you started in the other instance.

In the console on the listen server, run these commands (these are the same as above):

  • Net PktLag=150

  • Net PktLagVariance=50

It's only necessary to set these on the server instance, not the client.

Finally, on the server instance, press R to reload the current map. You will likely need to repeat pressing R several times before the assertion is triggered on the client instance.

Thanks for reading!

Product Version: UE 4.10
Tags:
nettest.zip (361.2 kB)
more ▼

asked Jan 11 '16 at 05:42 AM in Bug Reports

avatar image

cancel
2.4k 100 72 123

avatar image erebel55 Mar 29 '17 at 06:11 PM

I am getting these same warnings with real network conditions (not simulated). Any idea how to resolve? It happens on seamless travel sometimes and the client with eventually crash because of it.

avatar image Doug E ♦♦ STAFF Mar 29 '17 at 06:33 PM

Hey erebel55-

The original issue reported was not able to be reproduced internally. It would be helpful if you're able to provide the callstack and logs from the crash, or simple reproduction steps to help me setup a fresh project locally.

avatar image SlimeQ May 18 '17 at 08:46 PM

i'm getting it too, suddenly, in 4.15. no idea what happened

avatar image Doug E ♦♦ STAFF May 24 '17 at 09:06 PM

Hey SlimeQ-

Can you provide any details about the behavior you're seeing? If you're able to reproduce this, please provide steps to help me reproduce the behavior on my end.

avatar image BlackFangTech Apr 12 '19 at 08:27 AM

We are getting this sometimes in real network tests and would appreciate any information on how to prevent it.

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

1 answer: sort voted first

Hey cancel-

It appears that the simulated lag is affecting the replication after server travel. I have entered a ticket (UE-25208) for further investigation.

Cheers

Doug Wilson

more ▼

answered Jan 11 '16 at 06:34 PM

(comments are locked)
10|2000 characters needed characters left
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