边缘世界 RimWorld

边缘世界 RimWorld

Auto Seller
Hades the King 2021 年 6 月 14 日 上午 11:50
Hi found 2 yellow errors
Type FilterArea probably needs a StaticConstructorOnStartup attribute, because it has a field material of type Texture2D. All assets must be loaded in the main thread.
Verse.Log:Warning(String, Boolean)
Verse.StaticConstructorOnStartupUtility:ReportProbablyMissingAttributes()
Verse.<>c:<DoPlayLoad>b__4_2()
BetterLoading.Stage.InitialLoad.<>c__DisplayClass15_0:<PreExecToExecWhenFinished>b__5()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

Type FilterZone probably needs a StaticConstructorOnStartup attribute, because it has a field material of type Texture2D. All assets must be loaded in the main thread.
Verse.Log:Warning(String, Boolean)
Verse.StaticConstructorOnStartupUtility:ReportProbablyMissingAttributes()
Verse.<>c:<DoPlayLoad>b__4_2()
BetterLoading.Stage.InitialLoad.<>c__DisplayClass15_0:<PreExecToExecWhenFinished>b__5()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

https://gist.github.com/940dccfaf027ed1b17c3b418bf990d89
最后由 Hades the King 编辑于; 2021 年 6 月 14 日 上午 11:51
< >
正在显示第 1 - 1 条,共 1 条留言
Supes  [开发者] 2021 年 6 月 14 日 下午 1:45 
I'm aware of them, and they're completely harmless (yellow text are warning messages).

Edit: They're more of an irritation in this case, as the vars in question start as uninitialised. these warning messages will disappear next time I upload a patch though.
最后由 Supes 编辑于; 2021 年 6 月 14 日 下午 2:20
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50