Dedicated Server Error: IsValid() SharedPointer.h Line 826

Hey, my Programmer is currently having an error when he tries to run our Dedicated Server, the specific line that we assume is causing problems is:

Assertion failed: IsValid() [File:C:\Users\silentbaws\Documents\Unreal Projects\Engine Source\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 826]

Here’s the log:

Log file open, 03/21/17 21:29:52
LogPlatformFile: Not using cached read wrapper
LogInit:Display: RandInit(973076574) SRandInit(973076574).
LogTaskGraph: Started task graph with 5 named threads and 8 total threads with 1 sets of task threads.
LogStats: Stats thread started at 0.119975
LogInit: Using libcurl 7.47.1
LogInit:  - built for x86_64-pc-win32
LogInit:  - supports SSL with OpenSSL/1.0.2g
LogInit:  - supports HTTP deflate (compression) using libz 1.2.8
LogInit:  - other features:
LogInit:      CURL_VERSION_SSL
LogInit:      CURL_VERSION_LIBZ
LogInit:      CURL_VERSION_IPV6
LogInit:      CURL_VERSION_ASYNCHDNS
LogInit:      CURL_VERSION_LARGEFILE
LogInit:      CURL_VERSION_IDN
LogInit:  CurlRequestOptions (configurable via config and command line):
LogInit:  - bVerifyPeer = false  - Libcurl will NOT verify peer certificate
LogInit:  - bUseHttpProxy = false  - Libcurl will NOT use HTTP proxy
LogInit:  - bDontReuseConnections = false  - Libcurl will reuse connections
LogInit:  - CertBundlePath = nullptr  - Libcurl will use whatever was configured at build time.
LogInit: Build: ++UE4+Release-4.15-CL-0
LogInit: Engine Version: 4.15.0-0+++UE4+Release-4.15
LogInit: Compatible Engine Version: 4.15.0-0+++UE4+Release-4.15
LogInit: Net CL: 0
LogDevObjectVersion: Number of dev versions registered: 14
LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 8
LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 2
LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 14
LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 22
LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 12
LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 3
LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
LogDevObjectVersion:   Dev-LoadTimes (C2A15278-BFE7-4AFE-6C17-90FF531DF755): 1
LogInit: Compiled (64-bit): Mar 21 2017 18:39:55
LogInit: Compiled with Visual C++: 19.00.23918.00
LogInit: Build Configuration: Development
LogInit: Branch Name: ++UE4+Release-4.15
LogInit: Command line: -log
LogInit: Base directory: C:/Users/silentbaws/Documents/Unreal Projects/Combat_Module/Build/WindowsNoEditor/CombatModule/Binaries/Win64/
LogInit: Installed Engine Build: 0
LogInit: Presizing for max 2097152 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogStreaming:Display: Async Loading initialized: New Async IO: true, Event Driven Loader: true, Async Loading Thread: false
LogInit: Object subsystem initialized
[2017.03.22-01.29.53:087][  0]LogInit: Selected Device Profile: [WindowsServer]
[2017.03.22-01.29.53:088][  0]LogInit: Applying CVar settings loaded from the selected device profile: [WindowsServer]
[2017.03.22-01.29.53:096][  0]LogInit: Computer: SILENTDESKTOP
[2017.03.22-01.29.53:097][  0]LogInit: User: silentbaws
[2017.03.22-01.29.53:098][  0]LogInit: CPU Page size=65536, Cores=4
[2017.03.22-01.29.53:100][  0]LogInit: High frequency timer resolution =3.020483 MHz
[2017.03.22-01.29.53:100][  0]LogMemory: Memory total: Physical=11.9GB (12GB approx)
[2017.03.22-01.29.53:100][  0]LogMemory: Platform Memory Stats for WindowsServer
[2017.03.22-01.29.53:101][  0]LogMemory: Process Physical Memory: 87.28 MB used, 87.28 MB peak
[2017.03.22-01.29.53:101][  0]LogMemory: Process Virtual Memory: 102.19 MB used, 102.19 MB peak
[2017.03.22-01.29.53:102][  0]LogMemory: Physical Memory: 4995.54 MB used,  7240.53 MB free, 12236.07 MB total
[2017.03.22-01.29.53:103][  0]LogMemory: Virtual Memory: 305.71 MB used,  7240.53 MB free, 134217728.00 MB total
[2017.03.22-01.29.53:200][  0]LogTextLocalizationManager: No specific translations for ('en-CA') exist, so ('en') translations will be used.
[2017.03.22-01.29.53:363][  0]LogAssetRegistry: FAssetRegistry took 0.0201 seconds to start up
[2017.03.22-01.29.53:368][  0]LogPackageLocalizationCache: Processed 4 localized package path(s) for 2 prioritized culture(s) in 0.004896 seconds
[2017.03.22-01.29.53:368][  0]LogPakFile: New pak file ../../../CombatModule/Content/Paks/CombatModule-WindowsNoEditor.pak added to pak precacher.
[2017.03.22-01.29.53:498][  0]LogBlueprintUserMessages:Warning: DEBUG: LocalNotification DefaultPlatformService NOT FOUND
[2017.03.22-01.29.53:502][  0]LogInit: Selected Device Profile: [WindowsServer]
[2017.03.22-01.29.53:528][  0]LogNetVersion: GetLocalNetworkVersion: CL: 0, ProjectName: combatmodule, ProjectVersion: , EngineNetworkVersion: 2, GameNetworkVersion: 0, NetworkChecksum: 2817406665
[2017.03.22-01.29.53:548][  0]LogUObjectArray: 29506 objects as part of root set at end of initial load.
[2017.03.22-01.29.53:548][  0]LogUObjectAllocator: 5847888 out of 0 bytes used by permanent object pool.
[2017.03.22-01.29.53:549][  0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool
[2017.03.22-01.29.53:550][  0]LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
[2017.03.22-01.29.53:550][  0]LogModuleManager:Warning: ModuleManager: Module 'XAudio2' not found - its StaticallyLinkedModuleInitializers function is null.
[2017.03.22-01.29.53:577][  0]LogEngine: Initializing Engine...
[2017.03.22-01.29.53:581][  0]LogStreaming:Warning: Export 1 (MaterialExpressionVectorParameter0) in ../../../Engine/Content/EngineDebugMaterials/DebugMeshMaterial.uasset was not created.
[2017.03.22-01.29.53:581][  0]LogStreaming:Warning: File ../../../Engine/Content/EngineDebugMaterials/DebugMeshMaterial.uasset had 1k of exports we never loaded.
[2017.03.22-01.29.53:584][  0]LogStreaming:Warning: Export 1 (MaterialExpressionTextureSample_1) in ../../../Engine/Content/EngineMaterials/M_InvalidLightmapSettings.uasset was not created.
[2017.03.22-01.29.53:585][  0]LogStreaming:Warning: File ../../../Engine/Content/EngineMaterials/M_InvalidLightmapSettings.uasset had 1k of exports we never loaded.
[2017.03.22-01.29.53:587][  0]LogStreaming:Warning: Export 1 (MaterialExpressionVectorParameter_4) in ../../../Engine/Content/EditorMaterials/GizmoMaterial.uasset was not created.
[2017.03.22-01.29.53:589][  0]LogStreaming:Warning: File ../../../Engine/Content/EditorMaterials/GizmoMaterial.uasset had 1k of exports we never loaded.
[2017.03.22-01.29.53:590][  0]LogStreaming:Warning: Export 1 (MaterialExpressionScalarParameter_0) in ../../../Engine/Content/EngineMaterials/PhAT_JointLimitMaterial.uasset was not created.
[2017.03.22-01.29.53:591][  0]LogStreaming:Warning: Export 2 (MaterialExpressionVectorParameter_0) in ../../../Engine/Content/EngineMaterials/PhAT_JointLimitMaterial.uasset was not created.
[2017.03.22-01.29.53:592][  0]LogStreaming:Warning: File ../../../Engine/Content/EngineMaterials/PhAT_JointLimitMaterial.uasset had 1k of exports we never loaded.
[2017.03.22-01.29.53:600][  0]LogInit: Texture streaming: Disabled
[2017.03.22-01.29.53:610][  0]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2017.03.22-01.29.56:305][  0]LogWindows:Error: === Critical error: ===
[2017.03.22-01.29.56:306][  0]LogWindows:Error: 
[2017.03.22-01.29.56:307][  0]LogWindows:Error: Assertion failed: IsValid() [File:C:\Users\silentbaws\Documents\Unreal Projects\Engine Source\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 826] 
[2017.03.22-01.29.56:308][  0]LogWindows:Error: 
[2017.03.22-01.29.56:308][  0]LogWindows:Error: 
[2017.03.22-01.29.56:309][  0]LogWindows:Error: 
[2017.03.22-01.29.56:310][  0]LogWindows:Error: KERNELBASE.dll!0x000000004A817788
[2017.03.22-01.29.56:310][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004B2A514A
[2017.03.22-01.29.56:310][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004B0C684E
[2017.03.22-01.29.56:311][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004B04E778
[2017.03.22-01.29.56:312][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004AEEA8F3
[2017.03.22-01.29.56:312][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004D0CD22B
[2017.03.22-01.29.56:313][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004D0CD0E1
[2017.03.22-01.29.56:314][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004D83EC16
[2017.03.22-01.29.56:314][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004D0CB03A
[2017.03.22-01.29.56:314][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004AEEBBB8
[2017.03.22-01.29.56:317][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004AEEB302
[2017.03.22-01.29.56:318][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004AEEB47A
[2017.03.22-01.29.56:318][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004AEFA7A8
[2017.03.22-01.29.56:319][  0]LogWindows:Error: CombatModuleServer.exe!0x000000004EC5ECF2
[2017.03.22-01.29.56:320][  0]LogWindows:Error: KERNEL32.DLL!0x000000004B528364
[2017.03.22-01.29.56:320][  0]LogWindows:Error: ntdll.dll!0x000000004DB370D1
[2017.03.22-01.29.56:321][  0]LogWindows:Error: ntdll.dll!0x000000004DB370D1
[2017.03.22-01.29.56:321][  0]LogWindows:Error: 
[2017.03.22-01.29.56:332][  0]LogExit: Executing StaticShutdownAfterError
[2017.03.22-01.29.57:268][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2017.03.22-01.29.57:268][  0]Log file closed, 03/21/17 21:29:57

Any help would be fantastic, thanks!

Hey CrimsonWingzz,

Unfortunately, I’m not seeing this issue on my end when creating and running a dedicated server in a clean project, and the logs don’t seem to have any information that I can use to determine what is causing the issue.

Could you try running through the dedicated server creation process in a clean project to see if you run into the same issue?

Hi Sean,

We didn’t have this error before as we worked on the project. Currently our programmer is redoing some functionality into C++ in hopes that that would resolve the problem. We’re thinking it might have to do with some widgets since it started failing after some widget implementation. So currently I’d say that the error is resolved for now until we attempt to run the Dedicated Server again.

Okay, if the error pops up again feel free to leave a comment to reopen this thread.

Have a great day