Jump to content

Game crash: "steel has a temperature of zero" assertion failure - reproducable


ICIPH3R
  • Branch: Live Branch Version: Windows Pending

Got my first crash today in quite some time!

<link="STEEL">Steel</link> has a temperature of zero which has always been an error in my experience.

  at UnityEngine.Logger.Log (UnityEngine.LogType logType, System.Object message, UnityEngine.Object context) [0x00000] in <82f243aab18c4f32918da2df41974365>:0 
  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <82f243aab18c4f32918da2df41974365>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at PrimaryElement.OnSetTemperature (PrimaryElement primary_element, System.Single temperature) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at PrimaryElement.SetTemperature (System.Single temperature) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at PrimaryElement.set_Temperature (System.Single value) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Substance.SpawnResource (UnityEngine.Vector3 position, System.Single mass, System.Single temperature, System.Byte disease_idx, System.Int32 disease_count, System.Boolean prevent_merge, System.Boolean forceTemperature, System.Boolean manual_activation) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Deconstructable.SpawnItem (UnityEngine.Vector3 position, Tag src_element, System.Single src_mass, System.Single src_temperature, System.Byte disease_idx, System.Int32 disease_count, WorkerBase chore_worker) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Deconstructable.SpawnItemsFromConstruction (System.Single temperature, System.Byte disease_idx, System.Int32 disease_count, WorkerBase construction_worker) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Deconstructable.TriggerDestroy (System.Single temperature, System.Byte disease_idx, System.Int32 disease_count, WorkerBase tile_worker) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Deconstructable+<>c__DisplayClass16_0.<OnCompleteWork>b__0 () [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Util.Signal (System.Action action) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at SimCellOccupier.DestroySelf (System.Action onComplete) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Deconstructable.OnCompleteWork (WorkerBase worker) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Workable.CompleteWork (WorkerBase worker) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at StandardWorker.CompleteWork () [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at StandardWorker.Work (System.Single dt) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at GameStateMachine`4+State+<>c__DisplayClass92_0[StateMachineType,StateMachineInstanceType,MasterType,DefType].<ToggleWork>b__1 (StateMachineInstanceType smi, System.Single dt) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at BucketUpdater`1[DataType].Update (DataType data, System.Single dt) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at StateMachineUpdater.AdvanceOneSimSubTick () [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0 
  at Game.SimEveryTick (System.Single dt) [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
  at Game.Update () [0x00000] in <5375d36347d34bc0b1ea487bdcad48e4>:0 
Build: U55-663500-VCR

1.png.ce6d2245d2a77122595d2a8656d956e8.png

2.png.b4355889bce245c0b49ddac99b436f79.png


Steps to Reproduce

The game will always crash under the following condition:

  • Create some steel metal tiles
  • Run some iron conveyor lines through them
  • Heat the steel tiles up enough so that the iron conveyor tiles melt
  • This creates a weird vacuum state inside the steel tile
  • Deconstruct the steel tile results in the game crashing with the above error



User Feedback


When the material melts in the tile and if the liquid has nowhere to go (all the neighboring cells are occupied by other tiles), the tile will break. In fact, it ceases to exist and, under certain conditions, a duplicate may pass through it. You can make this broken block disappear by dripping liquid on it. A similar method is used to expand the space in the rocket.

Share this comment


Link to comment
Share on other sites

If thats the case, I'm not sure what the correct behavior should be here. I guess the steel metal tile should be properly destroyed and not just set to some invalid state with -273 temperature.

  • Like 1

Share this comment


Link to comment
Share on other sites

Ah, this brings back memories...

TL.;DR.: Don't build that way.... Here's something from when I was fiddling around with the game more...

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...