#[SPZ2-4475] [0.1.0-pre4-rc1] Thousands of "Assertion failed" entries in Player.log

11 messages ยท Page 1 of 1 (latest)

native herald
chilly mountain
#

@QA this is the assertion


Assertion failed
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Assert (bool)
Game.Content.AtomicIslands.Mergers.PathMergerSimulation/<>c__DisplayClass18_0:<CreateInputLaneSegments>b__1 (IItemReceiver,IBeltItem)
SingleItemLane:HandOverItem (IBeltItem,Game.Core.Simulation.Ticks)
Game.Core.Belts.BeltPath.FastBeltPathLane:Update (Game.Core.Simulation.Ticks)
Game.Content.Features.SpacePaths.UpdateableItemLaneBundle`1<Game.Core.Belts.BeltPath.FastBeltPathLane>:Update (Game.Core.Simulation.Ticks)
Game.Content.AtomicIslands.Mergers.SpaceMergerSimulation:Update (Game.Core.Simulation.Ticks,Game.Core.Simulation.Ticks)
Game.Core.Map.Simulation.Clustering.SimulationCluster:Update (Game.Core.Simulation.Ticks)
Game.Core.Map.Simulation.Clustering.SimulationGraph:UpdateCluster (Game.Core.Map.Simulation.Clustering.SimulationCluster,Game.Core.Simulation.Ticks)
Game.Core.Map.Simulation.Clustering.SimulationGraph:UpdateClusters ()
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

native herald
#

There are 3 different assertions
The 2 others are:

#

found with:


from pathlib import Path
import re

log = Path('data/Player_250504_080744.log')
text = log.read_text()

if ms := re.findall(r'(Assertion failed.+?)\n\n', text, re.DOTALL):
    for i, s in enumerate(set(ms), 1):
        print(f'\n\n{"#" * 10}  {i}  {"#" * 10}')
        print(s)
chilly mountain
#

Good catch, It might be that the first triggers the others as they all seem to be related to the space belts

native herald
#

Did some tests
As soon as I paste this BP into a new save game (cheats.enable and god) the assertions start

chilly mountain
#

Thanks, that should make it really easy to repro!

storm magnet
#

Thank you for your report! ๐Ÿ˜„

There's been some known issues with the merging and splitting of space belts and pipes causing this assertion and the BP was invaluable to tackle it! ๐Ÿ™‚ I'll be making a ticket for our internal server for further investigation