dwallorde / War-of-the-Walkers-Mod-V7

War of the Walkers Mod V7
10 stars 7 forks source link

Exception in thread GenerateChunks #9

Open valcioiudragos opened 4 years ago

valcioiudragos commented 4 years ago

2020-03-15T13:40:15 60243.464 ERR Exception in thread GenerateChunks: 2020-03-15T13:40:15 60243.464 EXC Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object at GameManager.ChangeBlocks (System.String persistentPlayerId, System.Collections.Generic.List1[T] _blocksToChange) [0x00623] in <547af08b786b418cbfcf3ef2ec18045a>:0 at GameManager.SetBlocksRPC (System.Collections.Generic.List1[T] _changes) [0x00000] in <547af08b786b418cbfcf3ef2ec18045a>:0 at World.SetBlockRPC (Vector3i _blockPos, BlockValue _blockValue) [0x0001a] in <547af08b786b418cbfcf3ef2ec18045a>:0 at BlockLiquidv2.ChangeThis (WorldBase _world, BlockValue _blockValue, Vector3i _blockPos, BlockLiquidv2+UpdateID _blockState, System.Int32 _emissions, System.Int32 _evaporation, BlockLiquidv2+FlowDirection _flowDirection) [0x0006c] in <547af08b786b418cbfcf3ef2ec18045a>:0 at BlockLiquidv2.UpdateTick (WorldBase world, System.Int32 _clrIdx, Vector3i _blockPos, BlockValue _blockValue, System.Boolean _bRandomTick, System.UInt64 _ticksIfLoaded, GameRandom _rnd) [0x00117] in <547af08b786b418cbfcf3ef2ec18045a>:0 at BlockLiquidv2.OnBlockAdded (WorldBase world, Chunk _chunk, Vector3i _blockPos, BlockValue _blockValue) [0x0009b] in <547af08b786b418cbfcf3ef2ec18045a>:0 at Chunk.SetBlock (WorldBase _world, System.Int32 x, System.Int32 y, System.Int32 z, System.Int32 _clrIdx, BlockValue _blockValue) [0x000a7] in <547af08b786b418cbfcf3ef2ec18045a>:0 at Chunk.SetBlock (WorldBase _world, System.Int32 x, System.Int32 y, System.Int32 z, BlockValue _blockValue) [0x00000] in <547af08b786b418cbfcf3ef2ec18045a>:0 at Prefab.CopyBlocksIntoChunkNoEntities (World _world, Chunk _chunk, Vector3i _prefabTargetPos, GameRandom _random, System.Boolean _bForceOverwriteBlocks) [0x0064d] in <547af08b786b418cbfcf3ef2ec18045a>:0 at PrefabInstance.CopyIntoChunk (World _world, Chunk _chunk, GameRandom _random, System.Boolean _bForceOverwriteBlocks) [0x00000] in <547af08b786b418cbfcf3ef2ec18045a>:0 at DynamicPrefabDecorator.DecorateChunk (World _world, Chunk _chunk, System.Boolean _bForceOverwriteBlocks) [0x0003c] in <547af08b786b418cbfcf3ef2ec18045a>:0 at DynamicPrefabDecorator.DecorateChunk (World _world, Chunk _chunk) [0x00000] in <547af08b786b418cbfcf3ef2ec18045a>:0 at ChunkProviderGenerateWorld.DoGenerateChunks () [0x00115] in <547af08b786b418cbfcf3ef2ec18045a>:0 at ChunkProviderGenerateWorld.thread_GenerateChunks (ThreadManager+ThreadInfo _threadInfo) [0x00008] in <547af08b786b418cbfcf3ef2ec18045a>:0 at ThreadManager.myThreadInvoke (System.Object _threadInfo) [0x0005d] in <547af08b786b418cbfcf3ef2ec18045a>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) ThreadManager:myThreadInvoke(Object) System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() System.Threading.ThreadPoolWorkQueue:Dispatch() System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

(Filename: <547af08b786b418cbfcf3ef2ec18045a> Line: 0)

valcioiudragos commented 4 years ago

After this error it stops to generate other chunks

dwallorde commented 4 years ago

This does occasionally happen. Having a really hard time finding what is actually causing it. Is this still occurring in the current version? It maybe seed related

valcioiudragos commented 4 years ago

Hi, It started when I gave me the serveradmin . The problem was only when I entered in the world.. I removed serveradmin and it worked.