RimThreaded
RimThreaded copied to clipboard
[Save Our Ship 2] ShipHeatNet various errors when destroyed `Exception ticking Ship_Reactor184671 (at (74, 0, 150)): System.NullReferenceException:`
Describe the bug
Enemy ship heat nets errors on every destroyed ship heat net related object when destroyed in battle.
Steps to reproduce the behavior (VERY IMPORTANT)
- Load this save with modlist
Error Logs
Exception ticking Ship_Reactor184671 (at (74, 0, 150)): System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.ShipHeatNet.AddHeat (System.Single amount, System.Boolean remove) [0x0001b] in <7bb567b828194433af6c68631a34e56d>:0
at RimWorld.CompShipHeatSource.AddHeatToNetwork (System.Single amount, System.Boolean remove) [0x00012] in <7bb567b828194433af6c68631a34e56d>:0
at RimWorld.CompShipHeatSource.CompTick () [0x00085] in <7bb567b828194433af6c68631a34e56d>:0
at Verse.ThingWithComps.Tick () [0x00024] in <7e901abeac4244b484a99b66989d226f>:0
at RimThreaded.TickList_Patch.NormalThingTick () [0x00025] in <86be62ec05034ba58645d699f2fc63ae>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
RimThreaded.TickList_Patch:NormalThingTick ()
RimThreaded.RimThreaded:ExecuteTicks ()
RimThreaded.RimThreaded:ProcessTicks (RimThreaded.RimThreaded/ThreadInfo)
RimThreaded.RimThreaded:InitializeThread (object)
System.Threading.ThreadHelper:ThreadStart_Context (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.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart (object)
System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.ShipHeatNet.Tick () [0x0002f] in <7bb567b828194433af6c68631a34e56d>:0
at RimWorld.ShipHeatMapComp.MapComponentTick () [0x00027] in <7bb567b828194433af6c68631a34e56d>:0
at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00013] in <7e901abeac4244b484a99b66989d226f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
Verse.Map:MapPostTick ()
RimThreaded.Map_Patch:MapsPostTickPrepare ()
RimThreaded.RimThreaded:PrepareWorkLists ()
RimThreaded.RimThreaded:ProcessTicks (RimThreaded.RimThreaded/ThreadInfo)
RimThreaded.RimThreaded:InitializeThread (object)
System.Threading.ThreadHelper:ThreadStart_Context (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.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart (object)
Player.log
HugsLib log
https://gist.github.com/512969f838caf0acdabfab32872b6267
Save file
I saved it when an explosion is about to happen, so you can see the errors unfold. Keep reloading the save to replicate the errors.
Screenshots
Mod list (Preferably a RimPy compatible list.)
- Harmony
- Core
- Royalty (Optional)
- Ideology (Optional)
- HugsLib li>automatic.startupimpact
- telefonmast.graphicssettings
- edb.preparecarefully
- void.charactereditor
- oskarpotocki.vanillafactionsexpanded.core
- haplo.miscellaneous.core
- haplo.miscellaneous.robots
- alaestor.miscrobots.plusplus
- oskarpotocki.vfe.mechanoid
- uuugggg.tdpack
- roolo.runandgun
- roolo.searchanddestroy
- roolo.dualwield
- zylle.mapdesigner
- ykara.epoe
- taranchuk.archotechplus
- gondragon.uinotincluded
- owlchemist.toggleableoverlays
- lwm.deepstorage
- legodude17.smartdecon
- vanillaexpanded.vcooke
- seohyeon.optimizationmeats
- owlchemist.barelyvisiblespots
- owlchemist.bettervanillamasking
- owlchemist.moonlight
- owlchemist.wallutilities
- owlchemist.perspectivebuildings
- owlchemist.perspectivetrees
- vanillaexpanded.vbrewecandt
- vanillaexpanded.vfeproduction
- oskarpotocki.vanillaexpanded.royaltypatches
- vanillaexpanded.vfecore
- vanillaexpanded.vfepower
- kentington.saveourship2
- uuugggg.replacestuff
- garethp.replacestuffcompatibility
- owlchemist.simplefx.smoke2
- owlchemist.ceilingutilities
- owlchemist.smartfarming
- owlchemist.windows
- fluffy.animaltab
- fluffy.areaunlocker
- fluffy.backuppower
- fluffy.blueprints
- fluffy.medicaltab
- fluffy.musicmanager
- fluffy.pharmacist
- fluffy.worktab
- dubwise.dubsappareltweaks
- dubwise.dubsmintmenus
- dubwise.dubsmintminimap
- dubwise.dubspaintshop
- arandomkiwi.rimsaves
- telardo.dragselect
- unlimitedhugs.allowtool
- madarauchiha.custommapsizes
- voult.betterpawncontrol
- automatic.bionicicons
- chippedchap.blueprinttotalstooltip
- brrainz.cameraplus
- dubwise.dubsbadhygiene
- sumghai.replimat
- sumghai.medpod
- steaplay.constructvanillarockwalls
- unlimitedhugs.defensivepositions
- merthsoft.designatorshapes
- vanillaexpanded.vfefarming
- vanillaexpanded.vfesecurity
- vanillaexpanded.vfespacer
- owlchemist.cleanpathfinding
- owlchemist.permeableterrain
- frozensnowfox.improvedvanometricpowercells
- frozensnowfox.nodefaultshelfstorage
- frozensnowfox.growableambrosia
- frozensnowfox.filthvanisheswithrainandtime
- frozensnowfox.betterancientcomplexloot
- frozensnowfox.bettercamploot
- frozensnowfox.growablegrass
- frozensnowfox.efficientutilities
- sgc.quests
- mlie.giveupyourbuilding
- mlie.nomoreautoroof
- mlie.weaponssorter
- mlie.scenarioamender
- sarg.smartspeed
- neptimus7.homearearadius
- falconne.heatmap
- notfood.mendandrecycle
- modsyncrw.kv.rw
- com.github.alandariva.moreplanning
- ogre.ogrestack
- jaxe.reorderer
- cp.rimdeed
- cabbage.rimcities
- jaxe.rimhud
- denev.smartturretcovering
- ratys.rtfuse
- ratys.rtpowerswitch
- ratys.rtsolarflareshield
- neceros.fuseplus
- dubwise.dubsrimkit
- neitsa.preparelanding
- neptimus7.progressrenderer
- mastertea.randomplus
- owlchemist.packedsand
- herigony.mapedittools
- uuugggg.sharetheload
- dubwise.rimatomics
- dubwise.rimefeller
- dubwise.dubsskylights
- vanillaexpanded.vbookse
- vanillaexpanded.vwe
- vanillaexpanded.vweg
- vanillaexpanded.vwehw
- vanillaexpanded.vwel
- vanillaexpanded.vwec
- vanillaexpanded.vwenl
- legodude17.heavyweaponsreloading
- vanillaexpanded.vfemedical
- vanillaexpanded.vfeart
- vanillaexpanded.vfepropsanddecor
- vanillaexpanded.vfearchitect
- vanillaexpanded.vaeaccessories
- turnovus.submod.backpacksarenotbelts
- owlchemist.fridgeutilities
- vanillaexpanded.vbrewe
- vanillaexpanded.varme
- vanillaexpanded.vcef
- vanillaexpanded.vplantse
- spacemoth.vfavccrsze
- zzz.wallvitalsmonitor
- oskarpotocki.vanillaexpanded.ideologypatches
- anon.vanillaembrasures
- mlie.mechanicaldefense2walls
- chv.diagonalwalls
- jelly.rimflix
- murmur.walllight
- owlchemist.undergroundpowerconduits
- kentington.saveourshipck
- dubwise.dubsperformanceanalyzer
- automatic.autocleaner
- oskarpotocki.vfe.insectoid
- bs.mbifvte
- imranfish.xmlextensions
- imranfishnikos.tallertabmenus
- orion.hospitality
- mehni.pickupandhaul
- niilo007.niilosqol
- adambucior.betterelectronics
- supes.selectedreconnector
- kyd.rapidfireturrets
- trinity.runtimegcupdated
- RimThreaded experimental.
The problem is that reloading the save completely fixes the errors.
A null reference check may fix this.