Sessions, ActiveNetDrivers empty, crash since UE4 4.13.0
This is a duplicate of the forum entry : https://forums.unrealengine.com/showthread.php?124069-Sessions-ActiveNetDrivers-empty-crash-since-UE4-4-13-0 because I did not know I should post here.
I have a simple Multiplayer project which works in 4.12.5 and 4.13 (with conversion). I put the relevant changes in my real project in 4.13, but it does not work there.
I am using How To Use Sessions In C++ as reference how to do it, because I did not find any other documentation which made any sense to me. "Look into shooter" is NOT a documentation.
I think I have all relevant changes in my real project, but instead of just working like my test project, it always crashed in UnrealEngine.cpp line ca. 706 where there is this code:
and hovering tells me that ActiveNetDrivers is "Empty".
I saw this entry in the update log:
and I think it possible that this is the reason for my problem. Perhaps the original Project has some network vodoo which my new 4.13 project has not.
I had the idea that in DefaultEngine.ini the section [/Script/Engine.GameEngine] could be of interest. But I just don't find any documentation about this.
I think it will not help, but here is the callstack:
I created a new project, this time I put into the project the networking code first, tested it with a mini UMG, everything works. I add the slate code, everything works. I close the editor and the Visual Studio, rebuild everything, just a rebuild, no other changes: It crashes again. Any idea?
asked Sep 29 '16 at 06:29 PM in Bug Reports
I found my problem. Kind of very embarrassing but people are so helpful here, it would be not nice to not tell, just in case someone else makes the same mistake. Na, who would do such a dumb thing.
in DefaultEngine.ini I had all the time
but in MyProject.Build.cs I had
answered Oct 17 '16 at 09:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here