Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
---
Edit 1:
I wrote an optimization for BeautyUtility into the mod for 1.5 because in my own profiling I found that it was quite slow in 1.5. I suspect that's the culprit.
My current hypothesis is that the 1.6 update (either vanilla or Hospitality) changed something that is incompatible with my old optimization patch.
I try to make my mod work regardless of sort order (except obviously bad cases like "before Harmony") so I would investigate a bit for a elegant fix.
If that fails, I can just disable that optimization for 1.6 and keep vanilla behavior.
---
Edit 2:
My BeautyUtility patch appears to not be the problem since the problem occurs sometimes even when I disable it.
---
Edit 3:
I did find a minor bug in my mod that I have just patched and will update later, however I don't see how it can cause those error messages, and the errors still appear even after I patched that bug.
https://gist.github.com/HugsLibRecordKeeper/394a77d70e4868c4c7f0fd3e118b990e
You can see that the mod list is identical to your RimSort list, except that I removed the "Need Bar Overflow" mod, yet the error still appeared.
This suggests that something else in your mod list is probably causing the error, not my mod.
Edit: I am looking into what could be probably behind this error, if not my mod.
Exception in ConfigErrors() of FC_Auravine: System.TypeInitializationException: The type initializer for 'RimWorld.BeautyUtility' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref BA935DC2]
at Verse.GenRadial.get_MaxRadialPatternRadius () [0x00000] in <78f29a4eb9bd4773be28b9eaaf6c5df6>:0
This suggest that a NullReferenceException occurred when getting the Property MaxRadialPatternRadius.
The same seem to be what's happening with Hospitality -- the error says it happens during initialization of RimWorld.JoyGiver_SocialRelax, which calls GenRadial.NumCellsInRadius, which uses MaxRadialPatternRadius. They appear to be caused by the same BUG somewhere.
Edit: formatting
I have no idea why that happens, but re-replacing the vanilla method with exactly how it appears to be written in vanilla fixes that error.
This is probably going to help your (moo's) modlist and those who use that list, but won't help others because I don't think your error is caused by my mods.
What it does: Modify the vanilla property getter "Verse.GenRadial.MaxRadialPatternRadius" by adding a few checks and return a default value if they fail (which should be impossible in theory but it happens anyways due to reasons I don't understand).
This mini-mod is unlisted on the workshop because I don't think it would help most other people.
---
Edit: The error still inconsistently appear with the Hospitality mod, I couldn't figure out why. I still think that it's probably caused by some other mod in your list (perhaps the same one that messes up the MaxRadialPatternRadius) since my mod doesn't modify any JoyGiver at all, and running with only Hospitality and my mod doesn't give any errors either.
---
With all that said, thank you for playing with my mod(s) and thank you for the feedback!
https://pasteboard.co/tWggKWPOIWLU.png
I'll try shortly with the fix you sent me
edit - I doubt it's relevant but the fix became the first entry of beautyutility errors:
Exception in ConfigErrors() of default: System.TypeInitializationException: The type initializer for 'RimWorld.BeautyUtility' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
[Ref 4CCEBD81]
at Verse.GenRadial.get_MaxRadialPatternRadius () [0x00023] in <4556be83393e426a90db3db5acdc090b>:0
- PREFIX AmCh.MaxRadialPatternRadiusFix: Boolean MaxRadialPatternRadiusFix.MaxRadialPatternRadiusFix:Prefix(Single& __result)
at Verse.GenRadial.NumCellsInRadius (System.Single radius) [0x00000] in <4556be83393e426a90db3db5acdc090b>:0
<0x1b06bebf700 + 0x00112> <unknown method>
--- End of inner exception stack trace ---
[Ref C6FC703D]
at Verse.ThingDef+<ConfigErrors>d__398.MoveNext () [0x003b0] in <4556be83393e426a90db3db5acdc090b>:0
at Verse.DefDatabase`1[T].ErrorCheckAllDefs () [0x00065] in <4556be83393e426a90db3db5acdc090b>:0
I'll rip this mod list apart in a hot minute
SIGHHHH!
Guess I'll pull the dependent mods and test them each
https://pasteboard.co/XRgmZqjvqTRr.png
I am still working on BeautyUtility
I can totally see an explosion mod trying to modify GenRadial to allow for bigger explosions (vanilla only allows something like 85 cells radius max)
Edit: it doesn't look like the cause.