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. 

Where to set ConnectionTimeout Value?

Hi,

I searched for NetworkError type "ConnectionTimeout", it is located in BaseEngine.ini

[/Script/OnlineSubsystemUtils.IpNetDriver] ConnectionTimeout=60.0 InitialConnectTimeout=60.0

Can I put this into my own project's Config/DefaultEngine.ini ? Or I need to modify the BaseEngine.ini in Engine Directory?

Product Version: UE 4.13
Tags:
more ▼

asked Dec 05 '16 at 08:41 AM in Using UE4

avatar image

rz1974
146 10 15 22

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

1 answer: sort voted first

Just had the same question, did not find an answer anywhere so had not choice but to try it our myself. The answer is: Yes, you can modify your project's Config/DefaultEngine.ini file with the values you want, and it will automatically override the existing values of BaseEngine.ini in Engine Directory (for this particular project).

just add the following lines in your project's Config/DefaultEngine.ini:

[/Script/OnlineSubsystemUtils.IpNetDriver] ConnectionTimeout=10.0

(10 is an example . put any value that makes sense in your case).

The following example proves it actually works: alt text

more ▼

answered Aug 10 '17 at 09:52 AM

avatar image

Jake1337
79 3 11 10

avatar image rz1974 Aug 11 '17 at 01:48 AM

Thank you.

avatar image DanielDurys Aug 10 '18 at 11:46 AM

When I try to package game for Android I got following error after adding the line to the DefaultEngine.ini in the project: UATHelper: Packaging (Android (ASTC)): ERROR: UnrealBuildTool.ConfigCacheIni_UPL+IniParsingException: Mismatched brackets when parsing section name in C:\WORK\MyProjects\ProjectX\Config\DefaultEngine.ini, line 142: [/Script/OnlineSubsystemUtils.IpNetDriver] ConnectionTimeout=10.0

avatar image Squareys May 29 '19 at 03:23 PM

You probably just have to insert a newline (the unreal answers markup removes it when code is not marked as such)

 [/Script/OnlineSubsystemUtils.IpNetDriver]
 ConnectionTimeout=10.0
(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