RimThreaded
RimThreaded copied to clipboard
[Combat Extended] suppression mechanic error
Non-Vanilla Bug Report
Describe the bug
Console throws errors relating to CE suppression mechanic while firing at enemies.
Steps to reproduce the behavior (VERY IMPORTANT)
- Equip a weapon/construct a turret. (prefer high fire rate, such as M134 Turret/Sentry with Defensive Machine Gun Turret Pack)
- Fire at enemy.
- Errors thrown.
- Errors seem to occur more often as suppression on an enemy increases, thus becoming worse the longer an enemy is being fired at without being able to take cover.
Error Logs ?
Exception ticking Bullet_762x51mmNATO_FMJ37974 (at (168, 0, 130)): System.NullReferenceException: Object reference not set to an instance of an object
at CombatExtended.SuppressionUtility.GetCellCoverRatingForPawn (Verse.Pawn pawn, Verse.IntVec3 cell, Verse.IntVec3 shooterPos) [0x001a1] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.SuppressionUtility.GetCoverPositionFrom (Verse.Pawn pawn, Verse.IntVec3 fromPosition, System.Single maxDist, Verse.IntVec3& coverPosition) [0x00179] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.SuppressionUtility.GetRunForCoverJob (Verse.Pawn pawn) [0x0003a] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.CompSuppressable.AddSuppression (System.Single amount, Verse.IntVec3 origin) [0x00141] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.ProjectileCE.ApplySuppression (Verse.Pawn pawn) [0x00138] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.ProjectileCE.CheckCellForCollision (Verse.IntVec3 cell) [0x00270] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.ProjectileCE.CheckForCollisionBetween () [0x0014b] in <7247e984d3414352854a2cb1aa3e354c>:0
at CombatExtended.ProjectileCE.Tick () [0x0006b] in <7247e984d3414352854a2cb1aa3e354c>:0
at RimThreaded.TickList_Patch.NormalThingTick () [0x00025] in <56b8e9fdc69e4b49a5ad5823c300adf3>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
HugsLib log
Player.log (Optional)
Link to contents of Player.log
Save file ?
Screenshots (Optional) ?
N/A
Mod list (Preferably a RimPy compatible list.) ?
[Mod list length: 7]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Combat Extended [https://steamcommunity.com/sharedfiles/filedetails/?id=1631756268]
Defensive Machine Gun Turret Pack [https://steamcommunity.com/sharedfiles/filedetails/?id=1688004964]
RimPy Mod Manager Database [https://steamcommunity.com/sharedfiles/filedetails/?id=1847679158]
[RT] RimThreaded (Experimental) [https://steamcommunity.com/sharedfiles/filedetails/?id=2652641362]