RimWorld
AB's Head Apparel Tweaker
 Тема закреплена. Скорее всего, здесь есть важная информация.
aedbia  [Разработчик] 20 июн. 2023 г. в 10:56
Bug Report/错误报告/錯誤報告
1.Submit a bug report here;

在此提交bug或错误报告;

在此提交bug或錯誤報告;

2.Please provide the error log or error reproduction process.
Without this mod issue, I couldn't solve it.

请提供错误日志或者错误复现流程。
非此mod问题我无法解决。

請提供錯誤日誌或者錯誤復現流程。
非此mod問題我無法解決。
Отредактировано aedbia; 29 июл в 20:59
< >
Сообщения 6175 из 91
Автор сообщения: Arkblade
If you exit the configuration by pressing the button in the upper right corner of the window instead of close, the head equipment still does not seem to return to the previous one normally.

I will fix this problem.
Thanks, found some problems as well.

1. When a style exists, the graphics do not switch properly when the style is selected in the settings screen.

2. when I switch the current character from the right side of the settings screen, the head equipment of the character I had just selected is not restored correctly.
It seems that when I enter the settings screen, it just does not reflect the pawn. (They are naked)
Also, switching between pawns is not working properly.

Also, once I exit the settings screen and open it again, pawn does not appear. (It will appear again when you change the setting target headgear.)
I rewrite setting display method to reduce RenderPawnCache method invocation and improve performance, they pawn are naked because I think other apparels may cover the select apparel and I hide those apparel.
About pawn does not appear It‘s a bug I will fix it.
"AB頭部服飾調整"的一些功能會導致被徵召的動物出錯。


https://i.imgur.com/Rm3z0kz.png
附圖的選項「"在室內隱藏"""非徵召時隱藏"...(略)」當被啟用時,會導致被徵召的動物出錯。

徵召動物時出現以下報錯,並且動物不能被徵召。




System.NullReferenceException: Object reference not set to an instance of an object
[Ref D7ACA752]
at HeadApparelTweaker.HarmonyPatchA5.UpdateApparelData (Verse.Pawn pawn) [0x00022] in <875010b6704842ab81679d1cec8c5ad5>:0
at RimWorld.Pawn_DraftController.set_Drafted (System.Boolean value) [0x00026] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranSetDrafted(IEnumerable`1 codes)
at RimWorld.Pawn_DraftController.<GetGizmos>b__15_1 () [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.Command_Toggle.ProcessInput (UnityEngine.Event ev) [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>: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, System.Boolean multipleSelected) [0x007aa] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x001c4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.GizmoGridDrawer:DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MapGizmoUtility:MapUIOnGUI ()
RimWorld.MapInterface:MapInterfaceOnGUI_BeforeMainTabs ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
Verse.Root:OnGUI ()
Автор сообщения: rot03065
"AB頭部服飾調整"的一些功能會導致被徵召的動物出錯。


https://i.imgur.com/Rm3z0kz.png
附圖的選項「"在室內隱藏"""非徵召時隱藏"...(略)」當被啟用時,會導致被徵召的動物出錯。

徵召動物時出現以下報錯,並且動物不能被徵召。




System.NullReferenceException: Object reference not set to an instance of an object
[Ref D7ACA752]
at HeadApparelTweaker.HarmonyPatchA5.UpdateApparelData (Verse.Pawn pawn) [0x00022] in <875010b6704842ab81679d1cec8c5ad5>:0
at RimWorld.Pawn_DraftController.set_Drafted (System.Boolean value) [0x00026] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranSetDrafted(IEnumerable`1 codes)
at RimWorld.Pawn_DraftController.<GetGizmos>b__15_1 () [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.Command_Toggle.ProcessInput (UnityEngine.Event ev) [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>: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, System.Boolean multipleSelected) [0x007aa] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x001c4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.GizmoGridDrawer:DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MapGizmoUtility:MapUIOnGUI ()
RimWorld.MapInterface:MapInterfaceOnGUI_BeforeMainTabs ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
Verse.Root:OnGUI ()
OK,了解了,已经知道什么问题了
Отредактировано aedbia; 23 июл в 0:48
@rot03065 应该修复了
您好,这是错误报告

Exception setting up dynamic nodes for 卢西恩: System.InvalidCastException: Specified cast is not valid.
[Ref DC0ECAD2]
at Verse.DynamicPawnRenderNodeSetup_Apparel+<ProcessApparel>d__5.MoveNext () [0x000c3] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranProcessApparel(IEnumerable`1 codes)
at Verse.DynamicPawnRenderNodeSetup_Apparel+<GetDynamicNodes>d__3.MoveNext () [0x001a4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.PawnRenderTree.SetupDynamicNodes () [0x00061] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.PawnRenderTree.TrySetupGraphIfNeeded () [0x0007a] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.PawnRenderTree:TrySetupGraphIfNeeded ()
Verse.PawnRenderTree:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderer:EnsureGraphicsInitialized ()
Verse.PawnRenderer:DynamicDrawPhaseAt (Verse.DrawPhase,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
Verse.Pawn:DynamicDrawPhaseAt (Verse.DrawPhase,UnityEngine.Vector3,bool)
Verse.Thing:DynamicDrawPhase (Verse.DrawPhase)
Verse.DynamicDrawManager:DrawDynamicThings ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch1 (Verse.Map)
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
@火盐 OK,有其他mod么?
Автор сообщения: aedbia
@火盐 OK,有其他mod么?

有大概400个mod,要提供整个列表吗?
Автор сообщения: 火盐
Автор сообщения: aedbia
@火盐 OK,有其他mod么?

有大概400个mod,要提供整个列表吗?

这是有模组冲突了,错误日志里的卢西恩是原版人类吗?
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3444347874

是这个中世纪2派系扩展里面的人物,很多来袭击的人物都报错了,只要镜头移到人物上
@火盐 OK,我测试看看
1.5版本,newratkinplus鼠族mod里的鼠族巨盾(其他盾牌没问题)装备之后头发会消失,在您的mod设置里又找不到鼠族巨盾,没办法调设置。神奇的是贴吧里有人在本mod设置里可以找到鼠族巨盾..
补充,鼠族巨盾没头发的问题是近几天突然出现的,之前1.5版本,直到1.6发布之后一周左右头发都是能显示的。
测试环境:harmony, 本体, HAR, newratkinplus, 本mod, character editor
Отредактировано Costa; 27 июл в 11:43
Автор сообщения: Costa
1.5版本,newratkinplus鼠族mod里的鼠族巨盾(其他盾牌没问题)装备之后头发会消失,在您的mod设置里又找不到鼠族巨盾,没办法调设置。神奇的是贴吧里有人在本mod设置里可以找到鼠族巨盾..
补充,鼠族巨盾没头发的问题是近几天突然出现的,之前1.5版本,直到1.6发布之后一周左右头发都是能显示的。
测试环境:harmony, 本体, HAR, newratkinplus, 本mod, character editor
应该是鼠族近期更新了,我看看解决方法
< >
Сообщения 6175 из 91
Показывать на странице: 1530 50