fluffy-mods / BirdsAndBees

Adds a range of fertility related interactions to RimWorld
Other
4 stars 7 forks source link

Red errors on startup citing missing BodyPartTagDef for FertilitySource #29

Open MadaraUchiha opened 4 years ago

MadaraUchiha commented 4 years ago

Describe the bug

Red errors on startup

Could not resolve cross-reference to Verse.BodyPartTagDef named FertilitySource (wanter=tags)
Verse.Log:Error(String, Boolean)
Verse.DirectXmlCrossRefLoader:TryResolveDef(String, FailMode, Object)
Verse.WantedRefForList`1:TryResolve(FailMode)
Verse.<>c__DisplayClass15_1:<ResolveAllWantedCrossReferences>b__0(WantedRef)
Verse.<>c__DisplayClass6_1`1:<ParallelForEach>b__0(Object)
System.Threading.QueueUserWorkItemCallback:WaitCallback_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue:Dispatch()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

Failed to find Verse.BodyPartTagDef named FertilitySource. There are 23 defs of this type loaded.
Verse.Log:Error(String, Boolean)
Verse.DefDatabase`1:GetNamed(String, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String, Object[])
Verse.GenDefDatabase:GetDef(Type, String, Boolean)
RimWorld.DefOfHelper:BindDefsFor(Type)
RimWorld.DefOfHelper:DMD<DMD<RebindAllDefOfs_Patch1>?1328528000::RebindAllDefOfs_Patch1>(Boolean)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.<>c:<Start>b__6_1()
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()

Expected behavior

No red errors

Steps to reproduce

  1. Start the game with B&B active

Other mods

I skipped the rest because it's just a missing XML def.

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
  <BodyPartTagDef>
    <defName>FertilitySource</defName>
  </BodyPartTagDef>
</Defs>

I'll be opening a PR for this shortly.

MadaraUchiha commented 4 years ago

Apparently the file is in this repo, just not in Steam. PublisherPlus settings or something like that?

ReinierKoops commented 4 years ago

I have the same bug.

Wolfsblvt commented 4 years ago

Same bug still appearing. Have it no matter what load order. Verified and yes, the BodyPartDef is missing in the workshop folder, even though it is in this repository.

dninemfive commented 4 years ago

Can verify. Was about to do a PR.

dninemfive commented 4 years ago

Downloaded the Github version and the error was still present. Fixed it by manually including this file from the repo.

thisischrys commented 4 years ago

same issue