Ludeon Forums

Ludeon Forums

  • September 27, 2022, 06:51:24 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [1.3.3055] Constant flickering when game is unpaused.  (Read 1574 times)

MoleUK

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
[1.3.3055] Constant flickering when game is unpaused.
« on: July 09, 2021, 02:13:00 PM »

Unknown what's triggering it, but on the previous build from a few hours ago the issue was not present. The flickering co-incides with speed of gameplay, faster speeds means faster flicker.

Just experienced a problem where my pawns who returned from a caravan trip are refusing to eat despite having permission/access, not sure if it's related.

Another user has the same flicker issue on the latest build, he's on a different GPU but both he and I are on Nvidia.
Logged

Godule

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #1 on: July 09, 2021, 02:15:20 PM »

+ 1 Same issue. Nvidia gpu here too.
Logged

pulzar

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #2 on: July 09, 2021, 02:31:05 PM »

+1 on the flickering. I tried changing resolutions, full-screen vs. no full-screen, etc. The UI isn't flickering, only the gameplay in the background is.

Old nvidia GPU, latest drivers.
Logged

MoleUK

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #3 on: July 09, 2021, 02:32:35 PM »

Fixed it by deleting dumping stockpile, thanks to a suggestion from Imi on the bugtesting discord. It appears I can't create a new stockpile on the exact same spot again, and if I create it adjacent the flicker returns. Save file just over 1000kb when zipped so can't include.

Unfortunately I still can't get the pawns who returned from their caravan trip to eat.
« Last Edit: July 09, 2021, 02:34:06 PM by MoleUK »
Logged

Imi

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #4 on: July 09, 2021, 02:45:56 PM »

Players.log spams an NRE as soon as any corpse is inside a stockpile.

Code: [Select]
Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DesignationManager.DesignationOn (Verse.Thing t, Verse.DesignationDef def) [0x00000] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.PawnUtility.CanBeBuried (Verse.Thing t) [0x00010] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.StoreUtility.TryFindBestBetterNonSlotGroupStorageFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, RimWorld.IHaulDestination& haulDestination, System.Boolean acceptSamePriority) [0x00058] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.StoreUtility.TryFindBestBetterStorageFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, RimWorld.IHaulDestination& haulDestination, System.Boolean needAccurateResult) [0x0002b] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.StoreUtility.IsInValidBestStorage (Verse.Thing t) [0x0002d] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.ListerHaulables.ShouldBeHaulable (Verse.Thing t) [0x0004d] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.ListerHaulables.Check (Verse.Thing t) [0x00000] in <0cd011d786f74fa1b512d1a64d687114>:0
  at RimWorld.ListerHaulables.ListerHaulablesTick () [0x0011d] in <0cd011d786f74fa1b512d1a64d687114>:0
  at Verse.Map.MapPreTick () [0x0000b] in <0cd011d786f74fa1b512d1a64d687114>:0
  at Verse.TickManager.DoSingleTick () [0x00011] in <0cd011d786f74fa1b512d1a64d687114>:0
  at Verse.TickManager.TickManagerUpdate () [0x0006a] in <0cd011d786f74fa1b512d1a64d687114>:0
  at Verse.Game.UpdatePlay () [0x00000] in <0cd011d786f74fa1b512d1a64d687114>:0
  at Verse.Root_Play.Update () [0x00032] in <0cd011d786f74fa1b512d1a64d687114>:0 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Logged

Meitana

  • Muffalo
  • *
  • Posts: 4
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #5 on: July 09, 2021, 02:46:51 PM »

Mine was only resolved by deleting both my dumping stockpile and my fridge. Being that I had corpses in both stockpiles, I checked:

I can recreate a stockpile in the fridge with no issue, so long as corpses are not allowed in this area. As soon as I allow even one corpse to be there, the flickering starts again.
Logged

barenski11

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #6 on: July 09, 2021, 03:49:55 PM »

i deleted all stockpiles, still flickering
Logged

ceasertheundead

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #7 on: July 09, 2021, 06:05:57 PM »

Fixed it by deleting dumping stockpile, thanks to a suggestion from Imi on the bugtesting discord. It appears I can't create a new stockpile on the exact same spot again, and if I create it adjacent the flicker returns.

I remove my dumping stockpile which also fix but i can put my back, with some of the new one missing.
Logged

CoffeeAndBrrt

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #8 on: July 09, 2021, 09:17:40 PM »

Looks like its related to a missing def from the DLC; I stubbed in a if null return null check in DesignationOn and I can interact with Corpses again (and no flicker).
« Last Edit: July 09, 2021, 09:19:13 PM by CoffeeAndBrrt »
Logged

pulzar

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #9 on: July 09, 2021, 10:01:06 PM »

Quote
Looks like its related to a missing def from the DLC; I stubbed in a if null return null check in DesignationOn and I can interact with Corpses again (and no flicker).

Which file did you modify? I searched through and found a couple of calls to DesignationOn (none matching the stack trace above), but not the implementation.
Logged

MikeLemmer

  • Colonist
  • ***
  • Posts: 468
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #10 on: July 09, 2021, 10:07:19 PM »

UPDATE on corpse bug: It's even screwier than I first imagined.

I couldn't haul the corpses anywhere, so I tried creating a new Dump Stockpile around them. For some reason it assumed the corpse was the other corner of the stockpile instead of the mouse cursor.
Logged

CoffeeAndBrrt

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #11 on: July 09, 2021, 10:29:35 PM »

I did it through a tool called dnSpy. I would recommend waiting for Tynan to release a fix unless your comfortable de/recompiling your DLLs. If you are comfortable, the function I hacked was Verse.Designation.DesignationOn(Thing, DesignationDef) - adding a null check resolved the issue for me.
Logged

GodKingOfNerds

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #12 on: July 10, 2021, 12:14:07 AM »

In my game the flickering was caused by my building a sandbag, there was no flickering until I constructed one. I reloaded and was able to recreate the flickering by building a sandbag again.
edit: I somehow managed to build sandbags at the exact same time a corpse entered a stockpile around 5 times consecutively before I realized. It was in fact the corpses that were causing the problem.
« Last Edit: July 10, 2021, 12:24:15 AM by GodKingOfNerds »
Logged

opponent019

  • Muffalo
  • *
  • Posts: 1
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #13 on: July 10, 2021, 12:22:37 AM »

Also started flickering for me using the latest build. I'm editing my post since I didn't realize that I indeed had an iguana corpse in my fridge and butchering it fixed it.
I cannot interact with corpses anymore though.
« Last Edit: July 10, 2021, 12:32:57 AM by opponent019 »
Logged

weekendwarrior

  • Drifter
  • **
  • Posts: 36
  • Refugee
    • View Profile
Re: [1.3.3055] Constant flickering when game is unpaused.
« Reply #14 on: July 10, 2021, 01:14:27 AM »

I don't have the problem with flickering and interacting with corpses anymore with the latest update (still says version 1.3.3055).
Logged
Pages: [1] 2