MaFi-Games / Captain-of-Industry-issues

Public issue tracker for Captain of Industry video game
22 stars 4 forks source link

Bug at initial starting game #1494

Open KhananatKeGmail opened 5 months ago

KhananatKeGmail commented 5 months ago

Issue description

Bug at initial starting game

Reproduction steps

Bug at initial starting game

Game version and build number

v0.6.3a b333

Operating system

Windows

Attachments

The game failed to initialize. Please file a bug report if this issue persists.

System.NullReferenceException: Object reference not set to an instance of an object at Mafi.Collections.QuadTree1[T].GetHighestSetLevel (System.Int32 index) [0x0001c] at Mafi.Collections.QuadTree1[T].GetHighestSetLevel (System.Byte x, System.Byte y) [0x00009]
at Mafi.Unity.Terrain.TerrainRenderer+TerrainRendererChunk.processSurfaceChanges (System.Boolean& surfaceDataDirty) [0x00370]
at Mafi.Unity.Terrain.TerrainRenderer+TerrainRendererChunk.InitializeData () [0x001e8]
at Mafi.Unity.Terrain.TerrainRenderer.initState () [0x00391]
at Mafi.Core.GameLoop.IGameLoopEventsExtensions+d3.MoveNext () [0x00013]
at Mafi.Core.GameLoop.GameLoopEvents+d
63.MoveNext () [0x000d3]
at Mafi.Core.GameLoop.GameRunner+d105.MoveNext () [0x00345]
at Mafi.Core.Game.GameBuilder+d
6.MoveNext () [0x00127]
at Mafi.Core.Game.GameBuilder+d3.MoveNext () [0x003a8]
at Mafi.Unity.GamePlayScene+d
21.MoveNext () [0x0023c]
at Mafi.Unity.GamePlayScene+d18.MoveNext () [0x000a5]
at Mafi.Unity.Main+d
70.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]

poltime commented 5 months ago

The problem is with your computer.

MaFi-Games commented 5 months ago

I think we need more information. Does this happen every time and on every map? Does this happen on built-in maps or community maps? Can you share full logs so we can look for any other potential issues?