RimWorld

RimWorld

Allow Tool
feanor68 3 Mar, 2020 @ 10:06am
Error in 1.0 > 'Commoner' is not a valid value
Hi, thanks for continuing to support and share your mod -- it's terrific!

But this error started popping up after your latest update on 3/3. It appears to be referring to a pawn-class-type Commoner (?), which I assume is something defined in 1.1 (?). The same error-message repeats twice in the log before it gives up and moves on.

I am on the 1.0 version -- rolled back to keep using so many of my fav mods, including your's :) Please let me know if you need anything else to help solve this, and thanks again for all you do!

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Exception parsing <li>Commoner</li> to type Verse.WorkTags: System.ArgumentException: Exception parsing Verse.WorkTags from "Commoner" ---> System.ArgumentException: 'Commoner' is not a valid value for Verse.WorkTags. Valid values are:
• None
• ManualDumb
• ManualSkilled
• Violent
• Caring
• Social
• Intellectual
• Animals
• Artistic
• Crafting
• Cooking
• Firefighting
• Cleaning
• Hauling
• PlantWork
• Mining
---> System.ArgumentException: The requested value 'Commoner' was not found.
at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) [0x00000] in <filename unknown>:0
at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <filename unknown>:0
at Verse.ParseHelper.FromString (System.String str, System.Type itemType) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Verse.ParseHelper.FromString (System.String str, System.Type itemType) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Verse.ParseHelper.FromString (System.String str, System.Type itemType) [0x00000] in <filename unknown>:0
at Verse.ParseHelper.FromString[WorkTags] (System.String str) [0x00000] in <filename unknown>:0
at Verse.DirectXmlToObject.ObjectFromXml[WorkTags] (System.Xml.XmlNode xmlRoot, Boolean doPostLoad) [0x00000] in <filename unknown>:0
< >
Showing 1-1 of 1 comments
Symbolic  [developer] 3 Mar, 2020 @ 10:26am 
My bad, supporting both versions takes some getting use to :) Should be fixed now.
I appreciate the detailed report, it really helps.
< >
Showing 1-1 of 1 comments
Per page: 1530 50