RimWorld

RimWorld

Vanilla Psycasts Expanded
VPE and Sleep Meditation interaction bug
Already reported to Sleep Meditation but the interaction between the two mods is causing psycasters not to be able to sleep along with with RimHud to crash.

Rimhud error is

[[RimHUD v1.16.6 Auto-deactivation report]]
(This error appears to have been triggered by 'Vanilla Psycasts Expanded [vanillaexpanded.vpsycastse]')

Error building widget 'Activity'
Object reference not set to an instance of an object

Stacktrace:
[Exception] Error building widget 'Activity'

at RimHUD.Interface.Hud.HudWidget.Build (RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.HudContent.GetWidget (System.String id, RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.Layers.WidgetLayer.Build ()
at RimHUD.Interface.Hud.Layers.RowLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.PanelLayer+<>c.<Prepare>b__11_0 (RimHUD.Interface.Hud.Layers.RowLayer child)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext ()
at RimHUD.Interface.Hud.Layers.PanelLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.HStackLayer+<>c.<Prepare>b__4_0 (RimHUD.Interface.Hud.Layers.BaseLayer container)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext ()
at System.Linq.Enumerable.Max (System.Collections.Generic.IEnumerable`1[T] source)
at RimHUD.Interface.Hud.Layers.HStackLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.VStackLayer+<>c.<Prepare>b__5_0 (RimHUD.Interface.Hud.Layers.BaseLayer container)
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext ()
at RimHUD.Interface.Hud.Layers.VStackLayer.Prepare ()
at RimHUD.Interface.Hud.Layers.LayoutLayer.Draw (UnityEngine.Rect rect)
at RimHUD.Interface.Hud.HudLayout.Draw (UnityEngine.Rect rect, System.Boolean floating)

[TargetInvocationException] Exception has been thrown by the target of an invocation.

at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions)
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions)
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T] ()
at RimHUD.Interface.Hud.HudWidget+<>c__16`1[T].<FromModel>b__16_0 (RimHUD.Interface.Hud.HudArgs args)
at RimHUD.Interface.Hud.HudWidget.Build (RimHUD.Interface.Hud.HudArgs args)

[NullReferenceException] Object reference not set to an instance of an object

at VanillaPsycastsExpanded.StatPart_NearbyFoci.AllFociNearby (Verse.Thing main, Verse.Pawn pawn)
at VanillaPsycastsExpanded.StatPart_NearbyFoci.TransformValue (RimWorld.StatRequest req, System.Single& val)
at RimWorld.StatWorker.FinalizeValue (RimWorld.StatRequest req, System.Single& val, System.Boolean applyPostProcess)
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess)
at RimWorld.StatWorker.GetValue (Verse.Thing thing, Verse.Pawn pawn, System.Boolean applyPostProcess)
at RimWorld.StatExtension.GetStatValueForPawn (Verse.Thing thing, RimWorld.StatDef stat, Verse.Pawn pawn, System.Boolean applyPostProcess)
at RimWorld.MeditationUtility.PsyfocusGainPerTick (Verse.Pawn pawn, Verse.Thing focus)
- POSTFIX idontcare.allowconsensualincest: Void ACI.Patches.Harmony.BloodlineMeditationPatches+Patch_PsyfocusGainPerTick:Postfix(Pawn pawn, Thing focus, Single& __result)
at SleepMeditation.JobDriver_LayDown.GetPsyfocusGainPerTick (Verse.Thing focus) [0x00000] in D:\repos\RimWorld\SleepMeditation\JobDriver_LayDown.cs:33
at SleepMeditation.JobDriver_LayDown.PsyfocusPerDayReport () [0x0001b] in D:\repos\RimWorld\SleepMeditation\JobDriver_LayDown.cs:39
at SleepMeditation.JobDriver_LayDown.GetReport () [0x00008] in D:\repos\RimWorld\SleepMeditation\JobDriver_LayDown.cs:29
at RimHUD.Interface.Hud.Models.Values.ActivityValue.GetValue ()
<0x1d9ea8a0790 + 0x0002a> <unknown method>
(wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.I
< >
Showing 1-1 of 1 comments
Avaon Jul 25 @ 4:34pm 
same.
someone find that using devmod and god mod on heath panel, enable hidden heddif and we can see there is 2 psylink (same line)
Erasing one, the pawn can sleep again but don't gain any focus.
Erasing second : the pawn isn't a psycaster anymore ...

pretty sure the two mode were working fine last week
VE psycaster was the last one doing an upgrade, meditation freedom last update in june so ...
< >
Showing 1-1 of 1 comments
Per page: 1530 50