weatherfactory / cultistsimulator-visible

Read-only preview builds of Cultist Simulator for the convenience of modders and the curious.
https://weatherfactory.biz/cultist-simulator/
37 stars 5 forks source link

Crash when spawning A Lot Of Items ('KHAINO') #179

Closed Chelnoque closed 1 year ago

Chelnoque commented 2 years ago

https://steamcommunity.com/app/718670/discussions/0/3425564314013438641/?ctp=2#c3419937528173948732

"I noticed that large sets of new, lets call them 'items' gained after a expedition has the effect of crashing my game often."

I've seen this too, but when stress-testing (spawning, like, hundreds of tokens). Logically, on a lower-end machines, that number may be lower. Having a player log will certainly help.

alexiskennedy commented 2 years ago

CultistCrashes.zip hs 6788

alexiskennedy commented 2 years ago

Player.log hs6760

alexiskennedy commented 2 years ago

Some crashes! The unique element / redraw may have been a false trail. This looks like maybe a situation lifecycle problem?

> Trying to get Output sphere of situation !time_17, but there aren't any; returning null sphere
>>>>>>>> drawseason says: needs is a suitable linked recipe with no chance or challenges specified. Executing it next.
>>>> Situation notification: drawseason has executed and has linked recipe needs. Sending a notification with startdescription of needs.
>>>>>>>> Trying to play SFX SituationBegin: but it was already played this frame
>>>>>>>> Trying to play SFX SituationTokenShowOngoingSlot: but it was already played this frame
> Trying to get Output sphere of situation !time_17, but there aren't any; returning null sphere
> Trying to get Output sphere of situation !suspicion_1066, but there aren't any; returning null sphere
>>>>>>>> Trying to play SFX CardPutInSlot: but it was already played this frame
> Unsticking token with payload ID suspicion and TokenState TravelledToSphere
>>>>>>>> Trying to play SFX SituationTokenRetire: but it was already played this frame
> Trying to get Output sphere of situation !illhealth_1039, but there aren't any; returning null sphere
alexiskennedy commented 2 years ago

Christening KHAINO