RimWorld

RimWorld

Athena Framework
 This topic has been pinned, so it's probably important
SmArtKar  [developer] 18 Dec, 2022 @ 2:17am
Bug Reports and Issues
This is a discussion for all the bug reports and issues related to the framework.

In order for me to verify and pinpoint the bug I'll need your game logs. You can get them by installing HugsLib mod, pressing Ctrl + F12 in-game and attaching the link to your post. All posts without logs will be deleted.
< >
Showing 1-15 of 45 comments
I am throwing this error whenever my pawn with a short bow hits a mare he's hunting. The game logs the animal as being hit but the animal receives no damage.

Exception ticking Arrow_Short84182. Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at AthenaFramework.HarmonyPatches+DamageInfo_AmountGetter.Postfix (Verse.DamageInfo __instance, System.Single& __result) [0x001a9] in <807c1f932681446faa8e900a1e16f3ab>:0
at (wrapper dynamic-method) Verse.DamageInfo.Verse.DamageInfo.get_Amount_Patch1(Verse.DamageInfo&)
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch5(Verse.Thing,Verse.DamageInfo)
at (wrapper dynamic-method) RimWorld.Bullet.RimWorld.Bullet.Impact_Patch1(RimWorld.Bullet,Verse.Thing,bool)
at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.ImpactSomething_Patch2(Verse.Projectile)
at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.Tick_Patch1(Verse.Projectile)
at Verse.TickList.Tick () [0x0015c] in <3126aca1aad041dcbdeda807cfe004bf>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
Verse.Log:ErrorOnce (string,int)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch7 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Game log here: https://gist.github.com/2701c57727569233233e94e5cf91abea

I'm running an embarrassing amount of mods but the error that ticks does seem to be indicating Athena Framework as an issue.
SmArtKar  [developer] 8 Jan, 2023 @ 8:23pm 
@CheeseTheThimbleSneeze thanks for your report, the issue was already fixed
lomak1nnn 12 Jan, 2023 @ 7:16am 
Problem with Vanilla Factions Expanded - Pirates, warcaskets soldiers make errors when just exist and take damage. I have ~500 mods, but error are mark this mod as issue.

Game log: https://gist.github.com/db311fc9ee3cdada92e7146d8bf7d859
Hope you solve this bug, thanks!
Lobter 12 Jan, 2023 @ 7:36pm 
I have a problem with VPE: Pirates too, but the error occurs when during the warcasket preview UI. It makes the skinsuit for the warcasket not appear at all.

logs: https://gist.github.com/8863b48cff8cfa4fe327da13e8ed711a
Last edited by Lobter; 12 Jan, 2023 @ 7:36pm
123nick 15 Jan, 2023 @ 5:00pm 
with the update, i now get some errors in the log on startup. not sure if directly caused by athena, or mod that uses it thats not updated for the athena update (i use eltex weaponry).

log: https://gist.github.com/HugsLibRecordKeeper/ded0d4fc0d5488a636ae3e5ae4526f35
SmArtKar  [developer] 18 Jan, 2023 @ 11:56am 
@123nick verify your game files to force steam to redownload athena, it updated eltex weaponery but not athena for some reason
SmArtKar  [developer] 18 Jan, 2023 @ 11:56am 
@meth enjoyer, @King of All Cosmos, thanks for reports, I'll look into the issue
SmArtKar  [developer] 18 Jan, 2023 @ 12:17pm 
@meth enjoyer, @King of All Cosmos verify your game files to force steam to redownload Athena. Your issue is caused by ApparelGraphicRecordGetter_PostTryGetGraphicApparel which I got rid of quite a while ago.
Admiralthrawnbar 22 Jan, 2023 @ 7:21pm 
Most recent update breaks custom bodies for HAR races, they all default back to the standard bodies. Only started today with the most recent update to the mod and removing the mod fixes it.
SmArtKar  [developer] 22 Jan, 2023 @ 8:33pm 
@Adminalthrawnbar fixed the issue, sorry for the inconvinience
AlexJones1776 23 Jan, 2023 @ 12:51am 
Good stuff, was having that issue.
Karnosch 23 Jan, 2023 @ 3:21pm 
I got a problem when I'm either trying to slaughter a tamed animal or when using the finish off button from Allow Tool. They do the action but nothing happens but it seems to get fixed when I removed this mod. This is the error log I got.

JobDriver threw exception in toil Do's initAction for pawn Rana driver=JobDriver_Slaughter (toilIndex=2) driver.job=(Slaughter (Job_72443) A=Thing_Rat53560)
System.NullReferenceException: Object reference not set to an instance of an object
at AthenaFramework.ArmorUtility_PostArmorGetter.Postfix (Verse.Pawn pawn, System.Single amount, System.Single armorPenetration, Verse.BodyPartRecord part, Verse.DamageDef& damageDef, System.Boolean& deflectedByMetalArmor, System.Boolean& diminishedByMetalArmor, System.Single& __result) [0x00015] in <210dfcc63e6a4e0c9e5b8eafbac80354>:0
at (wrapper dynamic-method) Verse.ArmorUtility.Verse.ArmorUtility.GetPostArmorDamage_Patch4(Verse.Pawn,single,single,Verse.BodyPartRecord,Verse.DamageDef&,bool&,bool&)
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyDamageToPart_Patch2(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn,Verse.DamageWorker/DamageResult)
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyToPawn_Patch0(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn)
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.Apply_Patch2(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Thing)
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch6(Verse.Thing,Verse.DamageInfo)
at RimWorld.ExecutionUtility.ExecutionInt (Verse.Pawn executioner, Verse.Pawn victim, System.Boolean huntingExecution, System.Int32 bloodPerWeight, System.Boolean spawnBlood) [0x00132] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
at RimWorld.ExecutionUtility.DoExecutionByCut (Verse.Pawn executioner, Verse.Pawn victim, System.Int32 bloodPerWeight, System.Boolean spawnBlood) [0x00000] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
at RimWorld.JobDriver_Slaughter.<MakeNewToils>b__4_1 () [0x0000c] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
(wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch0 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
SmArtKar  [developer] 25 Jan, 2023 @ 7:08am 
@Karnosch you haven't updated Athena to the latest version, verify your game files to force steam to redownload it
P90 USER 30 Jan, 2023 @ 7:28pm 
strange error with some mods that using mvcf in vef(especially on mod animals)

Exception drawing 白儿: System.NullReferenceException: Object reference not set to an instance of an object
at AthenaFramework.Pawn_PostDrawAt.Postfix (Verse.Pawn __instance, UnityEngine.Vector3 drawLoc) [0x00036] in <26ffb00d7891468b998c9ab1860d6fc0>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.DrawAt_Patch3(Verse.Pawn,UnityEngine.Vector3,bool)
at Verse.Thing.Draw () [0x00015] in <617d4a4b3c1842ffb4eb3fd1337f915c>:0
at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Draw_Patch3(Verse.ThingWithComps)
at (wrapper dynamic-method) Verse.DynamicDrawManager.Verse.DynamicDrawManager.DrawDynamicThings_Patch1(Verse.DynamicDrawManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.DynamicDrawManager:Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (Verse.DynamicDrawManager)
(wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch4 (Verse.Map)
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Last edited by P90 USER; 30 Jan, 2023 @ 7:57pm
SmArtKar  [developer] 31 Jan, 2023 @ 9:18am 
@ypca1 possible cause of the issue will be fixed in the next update
< >
Showing 1-15 of 45 comments
Per page: 1530 50