Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 Red errors keep popping up when trying to use this mod #1

Open
TenshiAkari12 opened this issue Sep 27, 2018 · 5 comments
Open

2 Red errors keep popping up when trying to use this mod #1

TenshiAkari12 opened this issue Sep 27, 2018 · 5 comments

Comments

@TenshiAkari12
Copy link

Hi! I really liked using your mod back in B18, it really helped having a few more parties happen to boost pawn moods in dire circumstances. I know there was a small issue where days had gotten mixed up (the message would appear at midnight the day AFTER a special event happened and sometimes in changing seasons/months the season would actually revert back to the first day of it) & wanted to see if it had been fixed here, because I'm in desperate need of some happy events/parties happening on my current save.

Unfortunately, I can't even get the B19 version working for me at all. This error pops up when I load the game:

Could not find a type named RimWorldDaysMatter.DaysMatterTab
Verse.Log:Error(String, Boolean)
Verse.ParseHelper:FromString(String, Type)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlLoader:DefFromNode(XmlNode, LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML(XmlDocument, Dictionary`2)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

And this error happens when I choose to load the game & click on the Days Matter tab. Not even the UI pops up.

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at Verse.WindowStack.Add (Verse.Window) <0x0000c>
at (wrapper dynamic-method) RimWorld.MainTabsRoot.ToggleTab_Patch1 (object,RimWorld.MainButtonDef,bool) <0x001e8>
at RimWorld.MainButtonWorker_ToggleTab.Activate () <0x00045>
at RimWorld.MainButtonWorker.InterfaceTryActivate () <0x00113>
at RimWorld.MainButtonWorker.DoButton (UnityEngine.Rect) <0x003fb>
at RimWorld.MainButtonsRoot.DoButtons () <0x00242>
at RimWorld.MainButtonsRoot.MainButtonsOnGUI () <0x00055>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x000e2>
at Verse.Root.OnGUI () <0x00112>

Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()
@Szara-ManOfHonor
Copy link

Szara-ManOfHonor commented Oct 31, 2018

I also get the RimWorldDaysMatter.DaysMatterTab error.

Could not find a type named RimWorldDaysMatter.DaysMatterTab
Verse.Log:Error(String, Boolean)
Verse.ParseHelper:FromString(String, Type)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlLoader:DefFromNode(XmlNode, LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML(XmlDocument, Dictionary`2)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

@WiseClock
Copy link
Owner

Just updated to version 1.0.
Please reply here if it still happens -- but be sure to subscribe to HugsLib and sort it in front of Days Matter in the mod list.

@TenshiAkari12
Copy link
Author

I've tried the updates you just pushed the other day. HugsLib is indeed near the top, this one is a bit further down my mod list.

Game is updated to the latest version 1.0.2150 the day the update dropped.

However, I'm still getting the tab error:

Could not find a type named RimWorldDaysMatter.DaysMatterTab
Verse.Log:Error(String, Boolean)
Verse.ParseHelper:FromString(String, Type)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlLoader:DefFromNode_Patch2(XmlNode, LoadableXmlAsset)
RIMMSLoadUp.ParseAndProcessXMLPatch:Prefix(XmlDocument, Dictionary`2)
Verse.LoadedModManager:ParseAndProcessXML_Patch1(XmlDocument, Dictionary`2)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

@WiseClock
Copy link
Owner

WiseClock commented Apr 25, 2019

It might be a mod conflict, but I'm not 100% sure. Can you provide a screenshot of your loaded mods and the load order?
Thanks.

@TenshiAkari12
Copy link
Author

TenshiAkari12 commented Apr 25, 2019

Actually, nevermind, I think I finally figured out exactly why this error keeps coming up on my end. Before I noticed the release version was actually available, I had extracted the files from the master branch, which did not include the assembly file for Days Matter. (I've got the DRM-free version and don't use Steam, so that's my only way of using this)

Redownloading from the release link this time. Waiting for the game to load, since this should fix it, but if I do still come across any problems, I'll be sure to note them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants