This object is in archive! 

Null Reference Exception on Cross-Play Nitrado Server

Christopher Boisvert shared this bug 2 years ago
Won't Fix

On cross-platform server on Nitrado, my friend and I were playing and the server crashed unexpectly. We have no mod installed or anything.

We do have experimental mode on.

This is our config :


<?xml version="1.0"?>
<MyConfigDedicated xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SessionSettings>
        <MaxPlayers>10</MaxPlayers>
        <GameMode>Survival</GameMode>
        <InventorySizeMultiplier>10</InventorySizeMultiplier>
        <AssemblerSpeedMultiplier>3</AssemblerSpeedMultiplier>
        <AssemblerEfficiencyMultiplier>3</AssemblerEfficiencyMultiplier>
        <RefinerySpeedMultiplier>3</RefinerySpeedMultiplier>
        <OnlineMode>PUBLIC</OnlineMode>
        <MaxFloatingObjects>32</MaxFloatingObjects>
        <MaxBackupSaves>5</MaxBackupSaves>
        <MaxGridSize>50000</MaxGridSize>
        <MaxBlocksPerPlayer>100000</MaxBlocksPerPlayer>
        <EnableBlockLimits>GLOBALLY</EnableBlockLimits>
        <EnableRemoteBlockRemoval>true</EnableRemoteBlockRemoval>
        <EnvironmentHostility>NORMAL</EnvironmentHostility>
        <AutoHealing>true</AutoHealing>
        <EnableCopyPaste>false</EnableCopyPaste>
        <WeaponsEnabled>true</WeaponsEnabled>
        <ShowPlayerNamesOnHud>true</ShowPlayerNamesOnHud>
        <ThrusterDamage>false</ThrusterDamage>
        <CargoShipsEnabled>false</CargoShipsEnabled>
        <EnableSpectator>false</EnableSpectator>
        <WorldSizeKm>0</WorldSizeKm>
        <RespawnShipDelete>true</RespawnShipDelete>
        <ResetOwnership>false</ResetOwnership>
        <WelderSpeedMultiplier>1</WelderSpeedMultiplier>
        <GrinderSpeedMultiplier>1</GrinderSpeedMultiplier>
        <RealisticSound>false</RealisticSound>
        <HackSpeedMultiplier>0.33</HackSpeedMultiplier>
        <PermanentDeath>false</PermanentDeath>
        <AutoSaveInMinutes>5</AutoSaveInMinutes>
        <SpawnShipTimeMultiplier>1</SpawnShipTimeMultiplier>
        <DestructibleBlocks>true</DestructibleBlocks>
        <EnableIngameScripts>true</EnableIngameScripts>
        <ViewDistance>6000</ViewDistance>
        <EnableToolShake>false</EnableToolShake>
        <VoxelGeneratorVersion>1</VoxelGeneratorVersion>
        <EnableOxygen>true</EnableOxygen>
        <EnableOxygenPressurization>true</EnableOxygenPressurization>
        <Enable3rdPersonView>true</Enable3rdPersonView>
        <EnableEncounters>true</EnableEncounters>
        <EnableFlora>true</EnableFlora>
        <EnableConvertToStation>true</EnableConvertToStation>
        <StationVoxelSupport>false</StationVoxelSupport>
        <EnableSunRotation>true</EnableSunRotation>
        <EnableRespawnShips>true</EnableRespawnShips>
        <ScenarioEditMode>false</ScenarioEditMode>
        <Scenario>false</Scenario>
        <CanJoinRunning>false</CanJoinRunning>
        <PhysicsIterations>4</PhysicsIterations>
        <SunRotationIntervalMinutes>240</SunRotationIntervalMinutes>
        <EnableJetpack>true</EnableJetpack>
        <SpawnWithTools>true</SpawnWithTools>
        <StartInRespawnScreen>false</StartInRespawnScreen>
        <EnableVoxelDestruction>true</EnableVoxelDestruction>
        <MaxDrones>5</MaxDrones>
        <EnableDrones>true</EnableDrones>
        <EnableWolfs>true</EnableWolfs>
        <EnableSpiders>true</EnableSpiders>
        <FloraDensityMultiplier>1</FloraDensityMultiplier>
        <EnableStructuralSimulation>false</EnableStructuralSimulation>
        <MaxActiveFracturePieces>50</MaxActiveFracturePieces>
        <EnableScripterRole>false</EnableScripterRole>
        <SyncDistance>2000</SyncDistance>
        <BlocksInventorySizeMultiplier>10</BlocksInventorySizeMultiplier>
        <MaxFactionsCount>0</MaxFactionsCount>
        <EnableSaving>false</EnableSaving>
        <InfiniteAmmo>false</InfiniteAmmo>
        <EnableContainerDrops>true</EnableContainerDrops>
        <EnableSubgridDamage>true</EnableSubgridDamage>
        <AdaptiveSimulationQuality>true</AdaptiveSimulationQuality>
        <EnableVoxelHand>true</EnableVoxelHand>
        <TrashFlagsValue>1562</TrashFlagsValue>
        <BlockCountThreshold>20</BlockCountThreshold>
        <PlayerDistanceThreshold>500</PlayerDistanceThreshold>
        <OptimalGridCount>0</OptimalGridCount>
        <PlayerInactivityThreshold>0</PlayerInactivityThreshold>
        <PlayerCharacterRemovalThreshold>15</PlayerCharacterRemovalThreshold>
        <VoxelTrashRemovalEnabled>false</VoxelTrashRemovalEnabled>
        <VoxelPlayerDistanceThreshold>5000</VoxelPlayerDistanceThreshold>
        <VoxelGridDistanceThreshold>5000</VoxelGridDistanceThreshold>
        <VoxelAgeThreshold>24</VoxelAgeThreshold>
        <EnableResearch>true</EnableResearch>
        <EnableGoodBotHints>false</EnableGoodBotHints>
        <OptimalSpawnDistance>4000</OptimalSpawnDistance>
        <EnableAutorespawn>false</EnableAutorespawn>
        <AutoSave>true</AutoSave>
        <ProceduralDensity>0.00</ProceduralDensity>
        <ProceduralSeed>0</ProceduralSeed>
        <BlockLimitsEnabled>PER_FACTION</BlockLimitsEnabled>
        <TrashRemovalEnabled>true</TrashRemovalEnabled>
        <EnableEconomy>true</EnableEconomy>
        <EconomyTickInSeconds>1200</EconomyTickInSeconds>
        <EnableBountyContracts>true</EnableBountyContracts>
        <MaxPlanets>3</MaxPlanets>
        <BlockTypeLimits>
            <dictionary />
        </BlockTypeLimits>
    </SessionSettings>
    <Scenario Type="MyObjectBuilder_ScenarioDefinition" Subtype="HomeSystem" />
    <AsteroidAmount>2</AsteroidAmount>
    <ServerName>GW Space Engineers</ServerName>
    <GroupID>0</GroupID>
    <PauseGameWhenEmpty>true</PauseGameWhenEmpty>
    <WorldName>GW World</WorldName>
    <LoadWorld>C:\SERVICES\ni5021754_1_SHARE\ftproot\spaceeng_profile\Saves\GW World</LoadWorld>
    <MessageOfTheDay>Bienvenue et bonne partie !</MessageOfTheDay>
    <MessageOfTheDayUrl>https://greenwoodmultimedia.com</MessageOfTheDayUrl>;
    <ServerDescription>Serveur de Christopher Boisvert et Tristan Ouellet.</ServerDescription>
    <maxplayers>0</maxplayers>
    <ServerPasswordHash>PASSWORD_HERE</ServerPasswordHash>
    <ServerPasswordSalt>SALT_HERE</ServerPasswordSalt>
    <ConsoleCompatibility>true</ConsoleCompatibility>
    <NetworkType>eos</NetworkType>
    <RemoteSecurityKey>iPDXx5q/2gphkIwO+dL9wA==</RemoteSecurityKey>
    <IP>85.190.158.131</IP>
    <SteamPort>8766</SteamPort>
    <ServerPort>11000</ServerPort>
    <PremadeCheckpointPath>C:\SERVICES\ni5021754_1_local\spaceeng\Content\CustomWorlds\Home System</PremadeCheckpointPath>
    <IgnoreLastSession>false</IgnoreLastSession>
    <Administrators>
        <unsignedLong>76561199077095481</unsignedLong>
        <unsignedLong>76561198153079292</unsignedLong>
    </Administrators>
    <Banned />
<Mods />
</MyConfigDedicated>

This is the error we experienced :

2021-09-05 21:18:45.318 - Thread:   1 ->  Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
   at Sandbox.Game.World.MyBlockLimits.SetGridNameFromServer(Int64 gridEntityId, String newName)
   at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
   at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
   at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4](T1 arg1, T4 arg4, Func`2 action, T2 arg2, T3 arg3, EndpointId endpointId, Nullable`1 position)
   at Sandbox.Game.Multiplayer.MyPlayerCollection.SendDirtyBlockLimit(MyBlockLimits blockLimit, List`1 playersToSendTo)
   at Sandbox.Game.Multiplayer.MyPlayerCollection.SendDirtyBlockLimits()
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
   at Sandbox.MySandboxGame.Update()
   at Sandbox.Engine.Platform.Game.UpdateInternal()
   at Sandbox.Engine.Platform.Game.RunSingleFrame()
   at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
   at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
   at Sandbox.Engine.Platform.Game.RunLoop()
   at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
   at VRage.Dedicated.DedicatedServer.RunInternal(String instanceName)
   at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive)
   at VRage.Dedicated.DedicatedServer.ProcessArgs(String[] args)
   at VRage.Dedicated.DedicatedServer.Run(String[] args, Action`1 initializeServices)
   at SpaceEngineersDedicated.MyProgram.Main(String[] args)
2021-09-05 21:18:45.334 - Thread:   1 ->  Showing message
2021-09-05 21:18:46.678 - Thread:   1 ->  
================================== CRASH INFO ==================================
AppVersion: 01_199_025
GameName: Space Engineers
IsOutOfMemory: False
IsGPU: False
IsNative: False
IsTask: False
IsExperimental: True
ProcessRunTime: 66772
PCUCount: 10743
IsHang: False
GCMemory: 281
GCMemoryAllocated: 281
HWAvailableMemory: 0
ProcessPrivateMemory: 1100
AnalyticId: SEXDS
================================== OFNI HSARC ==================================

2021-09-05 21:18:46.678 - Thread:   1 ->  Log Closed

Replies (2)

photo
1

Hello, Christopher,

thanks for contacting us regarding this issue. First of all, we are sorry that you are experiencing it.

I know you wrote that the crash happened unexpectedly, but... do you have any repro steps that could help us? Did you do anything special at the time the server crashed? Was it just one time thing, or does it happen regularly?

If you can share any more information from the game itself - what you were doing, what grids did you have, what were the server settings and such... anything that could narrow the possible reason down would be great help!

Thanks.

Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineer!

Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.

If you or any other player will experience this issue again, please make a new thread and provide all needed info there.

Thank you for understanding.

Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!