MaFi-Games / Captain-of-Industry-issues

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

Custom Map Error Codes #1621

Open TheLaw26 opened 4 months ago

TheLaw26 commented 4 months ago

Issue description

I am using the Map Sandbox 2/Flat XXXL and adding my own twist to it. I have completed my customization and publishing it won't load. Even just the base map with no changes immediately throws errors off!

Error 1) Terrain validation failed: Invalid product on tile 4294042 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294043 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294044 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294045 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294046 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294047 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294048 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294049 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294050 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294051 in layer 1/1: 300 of #0, replacing with ID #1. Invalid product on tile 4294052 in layer 1/1: 300 of #0, replacing with ID #1.: E 19:25:43,358 S000001 ~Sim at Mafi.Unity.MapEditor.MapEditor+d__216.MoveNext () [0x00000] at Mafi.Unity.MapEditor.MapEditor.tryContinueProcessing[T] (System.Collections.Generic.IEnumerator1[T] enumerator, System.Int32 timeBudgetMs, T& progress, Mafi.Option1[System.Exception]& exception) [0x00000] at Mafi.Unity.MapEditor.MapEditor.simUpdate () [0x00000] at Mafi.EventNonSaveable.Invoke () [0x00000] at Mafi.EventNonSaveable.InvokeTraced (System.String traceCategory) [0x00000] at Mafi.Core.Simulation.SimLoopEvents.InvokeGameStep (Mafi.Core.Input.IInputCommandsProcessor inputCommandsProcessor) [0x00000] at Mafi.Core.Simulation.SimulationBackgroundTask.PerformWork () [0x00000] at Mafi.Core.GameLoop.BackgroundTaskRunner.threadMain () [0x00000] at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] at System.Threading.ThreadHelper.ThreadStart () [0x00000]

Error 2) Asset ' Phantom icon.' (Texture2D) was not found in any bundle, path: TODO: Phantom icon.: E 19:44:19,547 S000001 ~Mai at Mafi.Unity.AssetsDb.TryGetSharedAsset[T] (System.String assetPath, T& result, System.Boolean suppressErrors, System.Boolean doNotCache) [0x00000] at Mafi.Unity.AssetsDb.GetSharedTexture (System.String textureAssetPath) [0x00000] at Mafi.Unity.MapEditor.TerrainFeatureEditor.UpdateHandle () [0x00000] at Mafi.Unity.MapEditor.MapEditor.syncUpdate (Mafi.Core.GameTime time) [0x00000] at Mafi.EventNonSaveable1[T].Invoke (T arg) [0x00000] at Mafi.EventNonSaveable1[T].InvokeTraced (T arg, System.String traceCategory) [0x00000] at Mafi.Core.GameLoop.GameLoopEvents.InvokeSyncUpdate (Mafi.Core.GameTime gameTime) [0x00000] at Mafi.Core.GameLoop.GameRunner.performSyncUpdate () [0x00000] at Mafi.Core.GameLoop.GameRunner.performSyncAndStartSim (System.Single deltaTimeMs) [0x00000] at Mafi.Core.GameLoop.GameRunner.Update (Mafi.Fix32 deltaTimeMs) [0x00000] at Mafi.Unity.MapEditor.MapEditorScene.Update (Mafi.Fix32 deltaMs) [0x00000] at Mafi.Unity.Main.Update () [0x00000] at Mafi.Unity.GameMainMb.Update () [0x00000] REPLY

Reproduction steps

Loading in the custom map Sandbox2/Flat XXXL throws the errors instantly!

Game version and build number

v0.6.4d

Operating system

Windows

Attachments

No response

CaseHardened commented 2 months ago

I have been having similar issues. I wish there was a way for it to allow you to delete the problem on the map from the report.