RimWorld

RimWorld

RW - Weapon Modularization
 This topic has been pinned, so it's probably important
THE_m00n  [developer] Nov 19, 2022 @ 10:25am
Bug & Error Report
to reporting bug & error, please writing down the log info, screen shot and what was your done here. If information not clear, it will be ignore
若要反馈bug或错误,请写下所有的错误报告,截图以及讲清楚自己是如何触发的。如果讲不清楚,你的报告将会被无视
< >
Showing 1-15 of 77 comments
6jun Nov 18, 2022 @ 6:37am 
BUG report
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.StatWorker_MarketValue.CalculatedBaseMarketValue (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x000c5] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.StatWorker_MarketValue.RimWorld.StatWorker_MarketValue.GetValueUnfinalized_Patch2(RimWorld.StatWorker_MarketValue,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x00043] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00009] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00006] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.ThingDef.get_BaseMarketValue () [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.Designator_Build+<>c.<ProcessInput>b__48_1 (Verse.ThingDef d) [0x00000] in <1ea541f48818430abd724fc665f76dc4>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00040] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].ComputeMap (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].Sort (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1[TElement].SortedMap (System.Linq.Buffer`1[TElement] buffer) [0x00006] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1+<GetEnumerator>d__3[TElement].MoveNext () [0x0003d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimWorld.Designator_Build.ProcessInput (UnityEngine.Event ev) [0x001d2] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc) [0x00707] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.ArchitectCategoryTab.DesignationTabOnGUI (Verse.Designator forceActivatedCommand) [0x0007a] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.MainTabWindow_Architect.ExtraOnGUI () [0x00010] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.WindowStack.WindowStackOnGUI () [0x00038] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch2(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)

这个是报错的记录 18日22:12分更新后依旧会这样报错

辛苦dalao们 这MOD是又一个开天辟地级别的MOD了
THE_m00n  [developer] Nov 18, 2022 @ 7:17am 
在什么情况下触发的
6jun Nov 18, 2022 @ 8:19am 
Originally posted by [cn]nuclear:
在什么情况下触发的

环境:
WIN10 N-2070S A-5600X RAM-32G
开启三个DLC 只加载Harmony Hugslib CE RW-tree RW-wm
使用18日更新 的CE 1.4测试版 18日23:43更新的RW-wm

复现:
使用快速测试开局 点击建筑规划-生产-屠宰台 或者任何带有多选菜单的建筑就会这样

备注:
报错后会造成点击展开选择材质的下拉菜单无效 即无法放置相应建筑物
更改MOD排序也无法解决问题
只有一种建造配方的营养膏合成机就不会报错
只要单独使用CE或RW-wm就不会报错
6jun Nov 18, 2022 @ 8:18pm 
还有一个小问题 Module_SR_LongBarrel 和 Module_RF_LongBarrel的中文译名和配方名都是狙击步枪加长枪管 后者应该是栓动步枪加长枪管
6jun Nov 18, 2022 @ 8:26pm 
Module_RF_LongBarrel 在生成时会随机自带一个补偿器/消焰器/制退器
THE_m00n  [developer] Nov 18, 2022 @ 8:40pm 
好了,排查清楚了,全是Def的问题,待会上传更新
6jun Nov 18, 2022 @ 10:29pm 
Originally posted by [cn]nuclear:
好了,排查清楚了,全是Def的问题,待会上传更新
牛的dalao 完全修好了我去宣传下
6jun Nov 18, 2022 @ 11:41pm 
Originally posted by [cn]nuclear:
好了,排查清楚了,全是Def的问题,待会上传更新
GP-25下挂榴弹的名字写成了反射器
两种榴弹的配方我没有在机械加工台上找到 但是科技树上是存在的
6jun Nov 18, 2022 @ 11:43pm 
不知道是不是你们有意为之 需要敌人掉落或者购买
THE_m00n  [developer] Nov 18, 2022 @ 11:47pm 
按理来说榴弹是有配方的,那应该会有工作台能够制作
6jun Nov 19, 2022 @ 1:30am 
Originally posted by [cn]nuclear:
按理来说榴弹是有配方的,那应该会有工作台能够制作
哦 怪我 在另一个科技上
6jun Nov 19, 2022 @ 2:25am 
Exception filling window for Verse.Dialog_InfoCard: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.StatsReportUtility.DrawStatsWorker (UnityEngine.Rect rect, Verse.Thing optionalThing, RimWorld.Planet.WorldObject optionalWorldObject) [0x0044d] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.StatsReportUtility.RimWorld.StatsReportUtility.DrawStatsReport_Patch2(UnityEngine.Rect,Verse.Thing)
at (wrapper dynamic-method) Verse.Dialog_InfoCard.Verse.Dialog_InfoCard.FillCard_Patch1(Verse.Dialog_InfoCard,UnityEngine.Rect)
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <1ea541f48818430abd724fc665f76dc4>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

截图:
https://postimg.cc/N56rR4w4

生成袭击的时候,敌人掉落了一把奇怪的冲锋枪 点击冲锋枪的详情界面就BUG了
上面的内容一直弹出

我有空就帮你们测试下MOD吧 你们不回也OK 很多bug也不是短时间就能解决的
在CE的discord上说了下这个MOD 老外们直呼巫术
6jun Nov 19, 2022 @ 2:27am 
Originally posted by 6jun:
Exception filling window for Verse.Dialog_InfoCard: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.StatsReportUtility.DrawStatsWorker (UnityEngine.Rect rect, Verse.Thing optionalThing, RimWorld.Planet.WorldObject optionalWorldObject) [0x0044d] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.StatsReportUtility.RimWorld.StatsReportUtility.DrawStatsReport_Patch2(UnityEngine.Rect,Verse.Thing)
at (wrapper dynamic-method) Verse.Dialog_InfoCard.Verse.Dialog_InfoCard.FillCard_Patch1(Verse.Dialog_InfoCard,UnityEngine.Rect)
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <1ea541f48818430abd724fc665f76dc4>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

截图:
https://postimg.cc/N56rR4w4

生成袭击的时候,敌人掉落了一把奇怪的冲锋枪 点击冲锋枪的详情界面就BUG了
上面的内容一直弹出

我有空就帮你们测试下MOD吧 你们不回也OK 很多bug也不是短时间就能解决的
在CE的discord上说了下这个MOD 老外们直呼巫术

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
这段和上面一起的
6jun Nov 19, 2022 @ 2:29am 
Exception in RimWorld.FloatMenuMakerMap.ChoicesAtFor: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.ThingDef.HasComp (System.Type compType) [0x00010] in <1ea541f48818430abd724fc665f76dc4>:0
at Verse.ThingListGroupHelper.Includes (Verse.ThingRequestGroup group, Verse.ThingDef def) [0x00303] in <1ea541f48818430abd724fc665f76dc4>:0
- transpiler CombatExtended.HarmonyCE: IEnumerable`1 CombatExtended.HarmonyCE.Harmony_ThingListGroupHelper:Transpiler(IEnumerable`1 instructions)
- transpiler PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
at Verse.ThingRequest.Accepts (Verse.Thing t) [0x00020] in <1ea541f48818430abd724fc665f76dc4>:0
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x00142] in <1ea541f48818430abd724fc665f76dc4>:0
- transpiler net.pardeike.rimworld.mods.achtung: IEnumerable`1 AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Transpiler(IEnumerable`1 instructions, MethodBase original)
- prefix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Prefix(Pawn pawn, ForcedWork& __state)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Postfix(Pawn pawn, ForcedWork __state)
at RimWorld.FloatMenuMakerMap.AddDraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean suppressAutoTakeableGoto) [0x01572] in <1ea541f48818430abd724fc665f76dc4>:0
- transpiler OskarPotocki.VFECore: IEnumerable`1 AnimalBehaviours.FloatMenuMakerMap_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator ilg)
- transpiler PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
- prefix OskarPotocki.VFECore: Boolean VFE.Mechanoids.HarmonyPatches.AddDraftedOrders_Patch:Prefix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix AnimalGear: Void AnimalGear.AnimalGearHarmony+FloatMenuMakerMap_AddDraftedOrders_Patch:FloatMenuMakerMap_AddDraftedOrders_Post(Vector3 clickPos, Pawn pawn, List`1 opts, Boolean suppressAutoTakeableGoto)
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000c2] in <1ea541f48818430abd724fc665f76dc4>:0
- postfix OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Postfix:Postfix(List`1 __result, Vector3 clickPos, Pawn pawn)
- finalizer net.pardeike.rimworld.mods.achtung: Exception AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Finalizer:Finalizer(Exception __exception, List`1& __result)

奇怪的枪用小人右键互动时的报错记录
THE_m00n  [developer] Nov 19, 2022 @ 3:57am 
冲锋枪的配件有什么
< >
Showing 1-15 of 77 comments
Per page: 1530 50