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"

Dedicated server crash with OnlineSessionNull and Steam Game Client

I have game Client with active Steam Integration

 [OnlineSubsystem]
 DefaultPlatformService=Steam
 
 [/Script/Engine.GameEngine]
 !NetDriverDefinitions=ClearArray
 +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
 
 [OnlineSubsystemSteam]
 bEnabled=True
 SteamDevAppId=480
 GameServerQueryPort=27015
 bRelaunchInSteam=false
 GameVersion=1.0.0.0
 bVACEnabled=1
 bAllowP2PPacketRelay=true
 P2PConnectionTimeout=90

but Dedicated Server don't use SteamSubsystem, it uses OnlineSubsystemNull.

When Player is trying to connect from SteamSubsystem to Dedicated Server without SteamSubsystem crash happen.

About crash OnlineSubsystemNullTypes.h line 12 TEMP_UNIQUENETIDSTRING_SUBCLASS(FUniqueNetIdNull, NULL_SUBSYSTEM);

that macro has check expression in constructor (OnlineSubsystemTypes.h line 942)

crash log

Product Version: UE 4.20
Tags:
crashlog.txt (4.3 kB)
more ▼

asked Aug 29 '18 at 06:04 AM in C++ Programming

avatar image

BorodMorod
137 14 19 23

avatar image Tobiw Nov 12 '18 at 08:24 AM

I have the same problem but with google play. Everything worked fine until i switched from 4.18 to 4.20, but now since the UniqeNetId type is GOOGLEPLAY and OnlineSubsystemNull checks if it's equal to FName("NULL") it fails. The crashing assertion didn't exist in 4.18, since they introduced different FUniqueNetId types. In 4.18 RegisterPlayer made an instance of FUniqueNetIdString, whereas in 4.20 onlinesubsystemnull makes an instance of FUniqueNetIdNull.

avatar image Dzhyrma May 18 '19 at 07:43 AM

Same here. New parameter bUseSteamNetworking helped only when Steam overlay is disabled. Basically unreal client crashes a dedicated server when tries to login with Steam activated. It shouldn't behave like that for sure

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

2 answers: sort voted first

I've commented out engine source code (for dedicated server) /check(GetType() == TYPE);/ in OnlineSubsystemTypes.h and it worked for me

more ▼

answered May 18 '19 at 07:57 AM

avatar image

Dzhyrma
6 1 1

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

I have this problem as well have you found the solution

more ▼

answered Oct 04 '18 at 03:23 PM

avatar image

Taikatou
138 3 5 13

(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