Draw bug?

Started by Berkyjay, February 14, 2017, 01:35:20 AM

Previous topic - Next topic

Berkyjay

I keep getting some massive slow down during my game.  It generally will go away after a few minutes.  But it always seems to return.  So I went into dev mode to try and catch it in the act.  Here what what I get spammed with when the slow down happens:

Array index is out of range.
at Verse.RoofGrid.Roofed (Verse.IntVec3) <0x00033>
at Verse.Graphic_Shadow.DrawWorker (UnityEngine.Vector3,Verse.Rot4,Verse.ThingDef,Verse.Thing) <0x000ac>
at Verse.Graphic.Draw (UnityEngine.Vector3,Verse.Rot4,Verse.Thing) <0x00038>
at Verse.PawnRenderer.RenderPawnAt (UnityEngine.Vector3,Verse.RotDrawMode) <0x0062e>
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3) <0x0002f>
at Verse.Pawn.DrawAt (UnityEngine.Vector3) <0x00032>
at Verse.Thing.Draw () <0x00042>
at Verse.ThingWithComps.Draw () <0x00010>
at (wrapper dynamic-method) Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (object) <0x001f9>
at Verse.Map.MapUpdate () <0x00120>
at Verse.Game.Update () <0x0005c>
at Verse.Root_Play.Update () <0x0004c>


Cannot register drawable Mote_DustSlow while drawing is in progress. Things shouldn't be spawned in Draw methods.
Verse.Log:Warning(String)
Verse.DynamicDrawManager:RegisterDrawable(Thing)
ExtendedStorage._Thing_ExtendedStorage:_SpawnSetup(Map)
Verse.Mote:SpawnSetup(Map)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map)
Verse.SubEffecter_Sprayer:MakeMote(TargetInfo, TargetInfo)
Verse.SubEffecter_SprayerChance:SubEffectTick(TargetInfo, TargetInfo)
Verse.Effecter:EffectTick(TargetInfo, TargetInfo)
Verse.AI.<WithEffect>c__AnonStorey432:<>m__698()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()


I have a good amount of mods installed but I'm unsure how to get a list of them.  So I'd be happy to provide those if anyone knows how to get that list.

2nd post

There was a third error in this group:

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.
Verse.Log:Warning(String)
Verse.DynamicDrawManager:DeRegisterDrawable(Thing)
Verse.Thing:DeSpawn()
Verse.Mote:DeSpawn()
Verse.Thing:Destroy(DestroyMode)
Verse.Mote:TimeInterval(Single)
Verse.MoteThrown:TimeInterval(Single)
Verse.Mote:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()


Moderator's edit (Calahan) - I have merged your 2nd post with the OP to avoid you infringing upon forum rule #10. Can you please edit your previous post next time instead of posting a reply to yourself. Thank you.

Calahan

#1
Thank you for the bug report. Next time this happens (or reproduce it if you can), can you please post your full log file as an attachment, as the full log file contains other information about your graphics card, your mod list (this is where you can find a mod list) and other such stuff. Which may or may not be pertinent to this issue. So please always post the full log file when reporting bugs.

Details on where you find you log file can be found in the following thread (see #6): https://ludeon.com/forums/index.php?topic=513.0

Berkyjay

Here's my log file.  And the link to the mods:

https://gist.github.com/9a2f771833dba21b61966163ba8590de

Thanks!

[attachment deleted by admin due to age]

Illusion Distort

You are using mods that are not set together correctly, they are causing the game to get confused.

[HugsLib] Dangerous detour detected! HediffGiver.TryApply to _HediffGiver.TryApply (assembly: Fluffy_BirdsAndBees). Reason: Methods are not call compatible: Parameter count mismatch

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

[HugsLib] (info) Manual detour: HediffGiver.TryApply >> Fluffy_BirdsAndBees._HediffGiver.TryApply

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

[HugsLib] Dangerous detour detected! <MakeNewToils>c__Iterator31.<>m__91 to _JobDriver_Lovin.FinishAction (assembly: Fluffy_BirdsAndBees). Reason: Methods are not call compatible: Parameter count mismatch


IndexOutOfRangeException: Array index is out of range.
at Verse.RoofGrid.Roofed (Verse.IntVec3) <0x00033>
at Verse.Graphic_Shadow.DrawWorker (UnityEngine.Vector3,Verse.Rot4,Verse.ThingDef,Verse.Thing) <0x000ac>
at Verse.Graphic.Draw (UnityEngine.Vector3,Verse.Rot4,Verse.Thing) <0x00038>
at Verse.PawnRenderer.RenderPawnAt (UnityEngine.Vector3,Verse.RotDrawMode) <0x005ac>
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3) <0x0002f>
at Verse.Pawn.DrawAt (UnityEngine.Vector3) <0x00032>
at Verse.Thing.Draw () <0x00042>
at Verse.ThingWithComps.Draw () <0x00010>
at (wrapper dynamic-method) Verse.DynamicDrawManager.DrawDynamicThings_Patch1 (object) <0x001f9>
at Verse.Map.MapUpdate () <0x00120>
at Verse.Game.Update () <0x0005c>
at Verse.Root_Play.Update () <0x0004c>


(Filename:  Line: -1)

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot deregister drawable Mote_FoodBitVegetarian while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot deregister drawable Mote_Footprint while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot register drawable Mote_AirPuff while drawing is in progress. Things shouldn't be spawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

Cannot deregister drawable Mote_AirPuff while drawing is in progress. Things shouldn't be despawned in Draw methods.

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

This seems to be a problem on the mods side and not the vanilla game. Please move this topic to the mods bugs section. (this message is to a moderator, not OP)

Berkyjay

Thanks!  Any clue as to which mods might be the issue?

skullywag

Id need a full log file, the one posted doesnt have any info in it.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?