RimWorld

RimWorld

Auto Seller
Hades the King 14. juni 2021 kl. 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
Sidst redigeret af Hades the King; 14. juni 2021 kl. 11:51
< >
Viser 1-1 af 1 kommentarer
Supes  [udvikler] 14. juni 2021 kl. 13: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.
Sidst redigeret af Supes; 14. juni 2021 kl. 14:20
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50