边缘世界 RimWorld

边缘世界 RimWorld

Dubs Rimkit
Kolljak 2017 年 12 月 12 日 上午 6:57
Strange Errors
Inspect string for MedicalKit63517 contains empty lines.

START

Uses: x20
Deteriorating due to being unroofed.
END
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
RimWorld.InspectPaneFiller:DrawInspectStringFor(ISelectable, Rect)
RimWorld.InspectPaneFiller:DoPaneContentsFor(ISelectable, Rect)
RimWorld.MainTabWindow_Inspect:DoPaneContents(Rect)
RimWorld.InspectPaneUtility:InspectPaneOnGUI(Rect, IInspectPane)
RimWorld.MainTabWindow_Inspect:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

https://gist.github.com/7a4fbd36fc1619876e72db4ccad65ea6
< >
正在显示第 1 - 4 条,共 4 条留言
Kolljak 2017 年 12 月 12 日 上午 9:00 
Figured it out. i think it was caused by memory crashing. ♥♥♥♥♥♥♥♥ i wish they would just add multithreading already.
Dubwise  [开发者] 2017 年 12 月 12 日 上午 9:38 
no thats just normal, that error really needs to be suppressed because all it means is there is a blank line which doesn't break anything, its because of a change in the way the strings are formed for that box a couple patches ago, there is always some item lingering around that still has the error that i missed
SickBoyWi 2019 年 4 月 16 日 下午 6:40 
Hey @Dubwise sorry to dredge up this old thread, but what's the fix for this error? I have in a mod I'm working on, and have no idea how to make it go away. I know it doesn't mess anything up, but it's irritating nonetheless. Is there a config tweak or something that will make it cease? Thanks for any advice you can provide here.
Dubwise  [开发者] 2019 年 4 月 17 日 上午 4:56 
you have to make sure you format your string correctly so there is no empty line at the end, so if you use stringbuilder don't do an appendline last, or in the return on the string you can do a .trimnewlines() to clean it up
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50