Dedicated server crash Assertion failed: !bIsAlreadySetPtr

Hello, Ive been building a multiplayer game with a dedicated server for several months now. Im on 4.6.1. Ive been packaging the game and server everyday or every other day to make sure anything new I add works in a packaged build (learned the hard way that just because something works in PIE dont mean it will in a packaged build). I have occasionally had problems here and there that I was able to figure out with the help of the forums and here but this one is stumping me. It has popped up out of the blue and I cant figure out what is causing it, I have tried building from my backup and it is doing it as well. I have tried rebuilding the engine and the game from source. Ive tried deleting old build/cook, intermediate, saved files and folders,etc. But no matter what the error is still there The build/cook/package process completes with no errors but the server crashes with these errors:

Assertion failed: !bIsAlreadyInSetPtr [File:C:\Program Files\Epic Games\4.6.1-source-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectHash.cpp] [Line: 196]

KERNELBASE.dll!UnknownFunction (0x00007ffee80d606c) + 0 bytes [UnknownFile:0]
HellServer.exe!FOutputDeviceWindowsError::Serialize() (0x00007ff671ba6915) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
HellServer.exe!FOutputDevice::Logf__VA() (0x00007ff671a25818) + 159 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
HellServer.exe!FDebug::AssertFailed() (0x00007ff671a04635) + 121 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
HellServer.exe!HashObject() (0x00007ff671d10766) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjecthash.cpp:459]
HellServer.exe!UObjectBase::AddObject() (0x00007ff671cc4a4c) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:229]
HellServer.exe!UObjectBase::UObjectBase() (0x00007ff671cbbefb) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:130]
HellServer.exe!StaticAllocateObject() (0x00007ff671cf6c14) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1794]
HellServer.exe!CreatePackage() (0x00007ff671cceb34) + 53 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:482]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca8243) + 30 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2223]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::CreateExport() (0x00007ff671c6f139) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2924]
HellServer.exe!ULinkerLoad::CreateExportAndPreload() (0x00007ff671c7020b) + 5 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2441]
HellServer.exe!ULinkerLoad::LoadAllObjects() (0x00007ff671c8b289) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2512]
HellServer.exe!LoadPackageInternal() (0x00007ff671ce4e3b) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:875]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7e45) + 42 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2134]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7f77) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2182]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::CreateImport() (0x00007ff671c70847) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3388]
HellServer.exe!ULinkerLoad::IndexToObject() (0x00007ff671c893c5) + 52 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3430]
HellServer.exe!ULinkerLoad::operator<<() (0x00007ff671c5ff83) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3609]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39f54) + 116 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:159]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c3a212) + 18 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:217]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39d81) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:109]
HellServer.exe!UStruct::Serialize() (0x00007ff671c38d93) + 19 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:1335]
HellServer.exe!UFunction::Serialize() (0x00007ff671c3887a) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:3708]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!UStruct::Link() (0x00007ff671c21cdd) + 13 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:462]
HellServer.exe!UClass::Link() (0x00007ff671c213a0) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2782]
HellServer.exe!UBlueprintGeneratedClass::Link() (0x00007ff6728b1ff2) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:470]
HellServer.exe!UClass::Serialize() (0x00007ff671c38165) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2950]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!ULinkerLoad::CreateExportAndPreload() (0x00007ff671c702a6) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2447]
HellServer.exe!ULinkerLoad::LoadAllObjects() (0x00007ff671c8b289) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2512]
HellServer.exe!LoadPackageInternal() (0x00007ff671ce4e3b) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:875]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7e45) + 42 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2134]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7f77) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2182]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::CreateImport() (0x00007ff671c70847) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3388]
HellServer.exe!ULinkerLoad::IndexToObject() (0x00007ff671c893c5) + 52 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3430]
HellServer.exe!ULinkerLoad::operator<<() (0x00007ff671c5ff83) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3609]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39dfa) + 116 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:118]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39d81) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:109]
HellServer.exe!UStruct::Serialize() (0x00007ff671c38d93) + 19 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:1335]
HellServer.exe!UFunction::Serialize() (0x00007ff671c3887a) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:3708]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!UStruct::Link() (0x00007ff671c21cdd) + 13 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:462]
HellServer.exe!UClass::Link() (0x00007ff671c213a0) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2782]
HellServer.exe!UBlueprintGeneratedClass::Link() (0x00007ff6728b1ff2) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:470]
HellServer.exe!UClass::Serialize() (0x00007ff671c38165) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2950]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!ULinkerLoad::CreateExportAndPreload() (0x00007ff671c702a6) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2447]
HellServer.exe!ULinkerLoad::LoadAllObjects() (0x00007ff671c8b289) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2512]
HellServer.exe!LoadPackageInternal() (0x00007ff671ce4e3b) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:875]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7e45) + 42 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2134]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7f77) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2182]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::CreateExport() (0x00007ff671c6f139) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2924]
HellServer.exe!ULinkerLoad::CreateExportAndPreload() (0x00007ff671c7020b) + 5 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2441]
HellServer.exe!ULinkerLoad::LoadAllObjects() (0x00007ff671c8b289) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2512]
HellServer.exe!LoadPackageInternal() (0x00007ff671ce4e3b) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:875]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7e45) + 42 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2134]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::VerifyImportInner() (0x00007ff671ca7f77) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2182]
HellServer.exe!ULinkerLoad::VerifyImport() (0x00007ff671ca773d) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1922]
HellServer.exe!ULinkerLoad::CreateImport() (0x00007ff671c70847) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3388]
HellServer.exe!ULinkerLoad::IndexToObject() (0x00007ff671c893c5) + 52 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3430]
HellServer.exe!ULinkerLoad::operator<<() (0x00007ff671c5ff83) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3609]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39f54) + 116 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:159]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c3a212) + 18 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:217]
HellServer.exe!UStruct::SerializeExpr() (0x00007ff671c39d81) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\public\uobject\scriptserialization.h:109]
HellServer.exe!UStruct::Serialize() (0x00007ff671c38d93) + 19 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:1335]
HellServer.exe!UFunction::Serialize() (0x00007ff671c3887a) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:3708]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!UStruct::Link() (0x00007ff671c21cdd) + 13 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:462]
HellServer.exe!UClass::Link() (0x00007ff671c213a0) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2782]
HellServer.exe!UBlueprintGeneratedClass::Link() (0x00007ff6728b1ff2) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:470]
HellServer.exe!UClass::Serialize() (0x00007ff671c38165) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:2950]
HellServer.exe!ULinkerLoad::Preload() (0x00007ff671c9239f) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2769]
HellServer.exe!ULinkerLoad::CreateExportAndPreload() (0x00007ff671c702a6) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2447]
HellServer.exe!ULinkerLoad::LoadAllObjects() (0x00007ff671c8b289) + 0 bytes [c:\program files\epic games\4.6.1-source-release\engine\source\runtime\coreuobject\private\uobject\linkerload.c

[2014.12.23-20.54.15:810][ 0]LogExit: Executing StaticShutdownAfterError
[2014.12.23-20.54.15:811][ 0]LogWindows:Error: Error reentered: Pure virtual function being called
[2014.12.23-20.54.15:811][ 0]LogWindows:Error: HandleError re-entered.
[2014.12.23-20.54.15:811][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2014.12.23-20.54.15:811][ 0]Log file closed, 12/23/14 12:54:15

Any help would be greatly appreciated, thanks.

Oh and just to add of course everything works in PIE and the client game packages and starts with no errors…

Hi Gilabite,

Are you still seeing this issue? Have you updated to the newest version of the editor? We are at 4.7.5 now.

I was able to figure out what blueprints were causing the error but not what it was about them that was causing it. The offending blueprints were children of a parent blueprint for my NPC AI. 2 of the 3 children were causing this error but not the third. It seemed to be caused by something to do with the behavior trees, but I couldnt narrow down the cause. I ended up working around the problem though and havent had the error since. I think it had something to do with the parent/child relationship and the fact that the project has been upgraded through each version of UE4 since 4.2, I think may have caused some errors in the blueprints. Ive had several problems with parent/child blueprints such as default variable values not staying set, etc that Ive worked around. I am on 4.7.5 also but thank you for the follow up, much appreciated.