MaFi-Games/Captain-of-Industry-issues

Trees not generating in map editor

zersal opened this issue · 1 comments

Issue description

There are no trees visible in the editor. If I load one of the included maps, trees are present but disappear after regenerating.

Reproduction steps

  1. Open map editor
  2. Place trees
  3. Apply changes

Game version and build number

v0.6.4d b347

Operating system

Windows

Attachments

20241029164010_1
24-10-29_18-26-59_4830.log

I have very simillar issue. Can't add any trees, both forest and single one. Looks exactly as above.

Error:

Trying to remove non-existent tree from renderer.
ASSERT: Fail:
A 18:04:10,167 S000001 ~Mai
at Mafi.Unity.Terrain.TreeRenderer.removeTreeImmediate (Mafi.Core.Terrain.Trees.TreeData tree) [0x00000]
at Mafi.Unity.Utils.DelayedItemsProcessing1[T].RenderUpdate () [0x00000] at Mafi.Unity.Terrain.TreeRenderer.syncUpdate (Mafi.Core.GameTime time) [0x00000] at Mafi.EventNonSaveable1[T].Invoke (T arg) [0x00000]
at Mafi.EventNonSaveable`1[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]