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. 

Gamestate on long running server becoming null

Hey Epic,

I am observing that the client GameState (GetWorld()->GameState) is null when connecting to a dedicated server running for 2-3 days.

The server does not change maps as I am stress testing one long running game for issues like this.

I have logged the server and it seems that GameState is valid so it seems somewhere on the client calls to GetWorld()->GameState are returning null.

Does anyone at Epic have any suggestions on where to look for a possible cause of this issue? What might cause a GameState to stop replicating or become null on the client?

Best, George ( www.playdaysofwar.com )

Product Version: UE 4.11
Tags:
more ▼

asked May 14 '16 at 02:14 PM in Bug Reports

avatar image

Mentos
81 6 10 14

avatar image Matthew J May 17 '16 at 09:59 PM

Hello Mentos,

I wouldn't know a cause for this myself other than possible garbage collection problems but wouldn't know where to begin. As this isn't something that is easily reproducible, I'll be asking around and I'll let you know if I need any more information on the subject.

avatar image Matthew J May 24 '16 at 09:01 PM

Unfortunately I haven't been able to come up with much. I imagine they would be long, but would it be possible for you to upload the logs for a session where the GameState disappeared? It may be able to point to where the issue is occurring.

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

1 answer: sort voted first

Hey Matthew, thanks for asking around. I don't think the logs would be much help so I will continue to debug this on my end for now.

more ▼

answered May 24 '16 at 09:11 PM

avatar image

Mentos
81 6 10 14

avatar image Matthew J Jun 06 '16 at 01:50 PM

Hello Mentos,

This is only intended as temporary measure, but I converted your latest comment into an answer and I'm marking it as the accepted answer. This is only for tracking purposes so I know that this is currently a handled issue. If you do need any more help, please respond here and unaccept the answer. I'll be happy to attempt to assist further.

(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