RimWorld

RimWorld

EvolvedOrgansRedux
PYDEAL 12 Jun, 2024 @ 9:51am
Found a red error about the "reactive shimmerworms"
Hello author,
I recently find a problem that when pawns have the part "reactive shimmerworms" and hit by enemy, they will disappear with all enemy surrounding and out of control. Red error message keep jumping out in the debug log:

Root level exception in Update(): System.InvalidCastException: Specified cast is not valid.
[Ref CFEAE703]
at Verse.HediffComp_Invisibility.get_ForcedVisible () [0x00019] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.HediffComp_Invisibility.get_PsychologicallyVisible () [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at RimWorld.InvisibilityUtility.IsPsychologicallyInvisible (Verse.Pawn pawn) [0x00025] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.PawnRenderer.PawnNeedsHediffMaterial (Verse.PawnRenderFlags& renderFlags) [0x00003] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.PawnRenderer.get_DefaultRenderFlagsNow () [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.PawnRenderer.EnsureGraphicsInitialized () [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.PawnRenderer.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Nullable`1[T] rotOverride, System.Boolean neverAimWeapon) [0x00003] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Pawn.DynamicDrawPhaseAt (Verse.DrawPhase phase, UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x0000f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Thing.DynamicDrawPhase (Verse.DrawPhase phase) [0x00017] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x0006f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Map.MapUpdate () [0x000c6] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Game.UpdatePlay () [0x00049] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Root_Play.Update () [0x00032] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root_Play:Update ()

Root level exception in Update(): System.InvalidCastException: Specified cast is not valid.
[Ref CFEAE703] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Root_Play:Update ()

It seems there is a problem with the hediffs called "Phychic invisibility". Can you please take some time to check it?
< >
Showing 1-2 of 2 comments
Maxell45146 10 Jul, 2024 @ 6:45pm 
I hadnt caught the error in the log but I"ve seen the same behavior. I was using 1.4 RW not that long ago and it worked perfectly there.
I have same problem but no see same error log. I was using 1.5.
< >
Showing 1-2 of 2 comments
Per page: 1530 50