rjw吧 关注:35,456贴子:63,326
  • 6回复贴,共1

[1.5]问一个RJW报错

只看楼主收藏回复

不知道为什么突然RJW报错
错误代码:
Exception in rjw.ThinkNode_ConditionalHornyOrFrustrated TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5DFB488]
at rjw.xxx.can_do_loving (Verse.Pawn pawn) [0x0006e] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
- POSTFIX RJW_PedophiliaEdition: Void rjwpe.Patches.XxxPatch:can_do_loving(Pawn pawn, Boolean& __result)
at rjw.xxx.can_fuck (Verse.Pawn pawn) [0x0000a] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
at rjw.CasualSex_Helper.CanHaveSex (Verse.Pawn target) [0x00000] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
at rjw.CasualSex_Helper+<>c__DisplayClass3_0.<find_partner>b__0 (Verse.Pawn x) [0x0004d] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at rjw.CasualSex_Helper.find_partner (Verse.Pawn pawn, Verse.Map map, System.Boolean bedsex) [0x000f5] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
at rjw.JobGiver_DoQuickie.TryGiveJob (Verse.Pawn pawn) [0x000a3] in <dba3aba86f8149da8f8ff76072f2e8b5>:0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <69945a8ed6c540cf90b578de735e0605>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch7 (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_SubtreesByTag:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch4 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch1 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()


IP属地:四川1楼2025-07-23 21:37回复
    问了下deepseek也没看懂怎么处理


    IP属地:四川2楼2025-07-23 21:39
    回复
      2026-01-18 19:33:09
      广告
      不感兴趣
      开通SVIP免广告

      你这D指导连深度思考都没开啊,我也问了一下Deepseek,看原因应该是在判断某些行为是否可行是引用了一个空数据,导致报错了。反正我也不懂代码,唯一的方法就是把mod禁了吧。


      IP属地:河南3楼2025-07-23 22:27
      收起回复



        IP属地:河南4楼2025-07-23 22:27
        回复
          很大概率是炼铜mod或者是近战动画导致的


          IP属地:广东来自Android客户端5楼2025-07-24 00:20
          回复
            也有可能就是生成的星器官问题


            IP属地:广东来自Android客户端6楼2025-07-24 00:21
            回复