deelight Posted July 26, 2021 Report Posted July 26, 2021 Hi, our servers crashes on startup: Version: v1.15.2 (Stable)07/26/2021 14:50:30: Critical error occurred System.NullReferenceException: Object reference not set to an instance of an object at Vintagestory.GameContent.BlockBehaviorHorizontalOrientable.GetRotatedBlockCode (System.Int32 angle, Vintagestory.API.Common.EnumHandling& handled) [0x0001e] in <944cf861bab84410b501b863ad6ca3f8>:0 at Vintagestory.API.Common.Block.GetRotatedBlockCode (System.Int32 angle) [0x00014] in <dc68a6a2d3ff4933a3b8a8580c55beee>:0 at Vintagestory.API.Common.BlockSchematic.TransformWhilePacked (Vintagestory.API.Common.IWorldAccessor worldForResolve, Vintagestory.API.Common.EnumOrigin aroundOrigin, System.Int32 angle, System.Nullable`1[T] flipAxis) [0x00191] in <dc68a6a2d3ff4933a3b8a8580c55beee>:0 at Vintagestory.ServerMods.WorldGenStructure.Init (Vintagestory.API.Server.ICoreServerAPI api, Vintagestory.ServerMods.BlockLayerConfig config, Vintagestory.API.Common.RockStrataConfig rockstrata, Vintagestory.API.MathTools.LCGRandom rand) [0x00121] in <944cf861bab84410b501b863ad6ca3f8>:0 at Vintagestory.ServerMods.WorldGenStructuresConfig.Init (Vintagestory.API.Server.ICoreServerAPI api) [0x00062] in <944cf861bab84410b501b863ad6ca3f8>:0 at Vintagestory.ServerMods.GenStructures.initWorldGen () [0x000ab] in <944cf861bab84410b501b863ad6ca3f8>:0 at Vintagestory.Server.ServerSystemSupplyChunks.LoadWorldgenHandlerAndSpawnChunks () [0x00073] in <84eb5776107e4da288321767863ec0f5>:0 at Vintagestory.Server.ServerSystemLoadAndSaveGame.OnBeginWorldReady () [0x00000] in <84eb5776107e4da288321767863ec0f5>:0 at Vintagestory.Server.ServerMain.EnterRunPhase (Vintagestory.API.Server.EnumServerRunPhase runPhase) [0x000a2] in <84eb5776107e4da288321767863ec0f5>:0 at Vintagestory.Server.ServerMain.Launch () [0x0028b] in <84eb5776107e4da288321767863ec0f5>:0 at ?????????????????????????????????????????.????????????????????????????????????????? () [0x000c8] in <d8aa917dc8554da7a7b4cb6ec5d60e43>:0 at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh (System.Threading.ThreadStart ) [0x00007] in <84eb5776107e4da288321767863ec0f5>:0 -------------------------------
deelight Posted July 26, 2021 Author Report Posted July 26, 2021 (edited) Sorry - i am using Ubuntu 20 as OS Edited July 26, 2021 by deelight
Theodis Posted October 18, 2021 Report Posted October 18, 2021 A shame there are no replies to this yet. I'm having the same issue. Running Gentoo Linux on my server. Prior to the game crashing with the error above I get a bunch of errors along the lines of. 14:01:55 [Server Error] Failed registering item game:helvehammerhead-iron: System.Exception: Attempted to register Item with code game:helvehammerhead-iron, but an item with such code already exists. Must use a unique code at Vintagestory.Server.ServerMain.RegisterItem (Vintagestory.API.Common.Item item) [0x0005b] in <c29bb51c062d406599d97705b6ec16ba>:0 at Vintagestory.Server.ServerCoreAPI.RegisterItem (Vintagestory.API.Common.Item item) [0x00000] in <c29bb51c062d406599d97705b6ec16ba>:0 at Vintagestory.ServerMods.NoObf.ModRegistryObjectTypeLoader.LoadItems () [0x0006a] in <22e1ae0330ec45ec95af9c2d665e4262>:0 To make sure it wasn't an issue with old game data, I deleted my VintageStoryData folder and still get the same issue.
Theodis Posted October 18, 2021 Report Posted October 18, 2021 I just deleted the VintageStory files, unpacked the tar file again and it worked. So I assume the game bugs out if you just try and overwrite the old server binaries and data.
Recommended Posts