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

blueprints erroring with windows? #27

Open
FluffierThanThou opened this issue Apr 26, 2020 · 2 comments
Open

blueprints erroring with windows? #27

FluffierThanThou opened this issue Apr 26, 2020 · 2 comments

Comments

@FluffierThanThou
Copy link
Member

Reported by: jptrrs
Description:
Hi, @fluffy. I'm getting consistent reports of people experiencing errors when they include a window on their blueprints. Let me know if there's anything I can do on my end. Here's an error log:
https://gist.github.com/HugsLibRecordKeeper/43aad9c5642200dd2fbcca0869ed8a87

@Zemogiter
Copy link

I have a similiar exception, also using Open The Windows mod.

Exception in UIRootUpdate: System.InvalidCastException: Specified cast is not valid.
  at Blueprints.BuildableInfo.DrawGhost (Verse.IntVec3 origin) [0x000b7] in <0e419875b3ed406faffbaac3b62eef50>:0 
  at Blueprints.Blueprint.DrawGhost (Verse.IntVec3 origin) [0x00015] in <0e419875b3ed406faffbaac3b62eef50>:0 
  at Blueprints.Designator_Blueprint.SelectedUpdate () [0x00025] in <0e419875b3ed406faffbaac3b62eef50>:0 
  at (wrapper dynamic-method) Verse.DesignatorManager.DMD<DMD<DesignatorManagerUpdate_Patch1>?-716761728::DesignatorManagerUpdate_Patch1>(Verse.DesignatorManager)
  at (wrapper dynamic-method) RimWorld.MapInterface.DMD<DMD<MapInterfaceUpdate_Patch3>?-1754902528::MapInterfaceUpdate_Patch3>(RimWorld.MapInterface)
  at RimWorld.UIRoot_Play.UIRootUpdate () [0x00015] in <4489f1367c1c4d76b2ae1272c8ed691d>:0 
Verse.Log:Error(String, Boolean)
RimWorld.UIRoot_Play:UIRootUpdate()
Verse.Root:DMD<DMD<Update_Patch1>?-921878144::Update_Patch1>(Root)
Verse.Root_Play:Update()

Full log: https://gist.github.com/HugsLibRecordKeeper/da64b925e589cb9f052350f042214bb1

@jptrrs
Copy link

jptrrs commented Apr 30, 2021

Hi Fluffy! I managed to fix this on my latest update. I did some funny business with the linkflags, and that's what was causing it. It took an ugly harmony patch to do it, but it works now. Probably the same as #28 .

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

No branches or pull requests

3 participants