View Issue Details

IDProjectCategoryView StatusLast Update
0000572Gameplay + OpenGL[All Projects] Bugpublic2017-04-14 15:06
ReporterNash 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000572: Static thinker bloat with hub levels
DescriptionIt seems that when static thinkers are created in the way that's demonstrated in the example WAD, multiple instances of it will be created every time the player re-enters a hub level.

Graf, this is the same solution you provided with regards to "global thinkers" on the forum a while ago. It seems obvious from the conditions that it's trying to prevent duplicate instances of the Thinker, but yet they continue to be created unconditionally.

Given enough amounts of level changes, the save file will infinitely grow larger and larger and saving starts to become very slow.
Steps To Reproduce1) Run example file, preferably with autosaves turned on for convenience

2) Step through the portals between the levels a few times so you have several autosaves

3) Look inside the JSON files of the saves, it appears that with each save file, more and more MyGlobalStuff is being saved into the levels
TagsNo tags attached.

Relationships

Activities

Nash

Nash

2017-04-12 09:49

reporter  

HubStaticthinker.pk3 (3,038 bytes)
Nash

Nash

2017-04-12 09:51

reporter   ~0001320

Forgot to mention,that this happens only if the thinker is set to static. If it's a non-static thinker (for example STAT_INFO), the bloat won't happen.

Issue History

Date Modified Username Field Change
2017-04-12 09:49 Nash New Issue
2017-04-12 09:49 Nash File Added: HubStaticthinker.pk3
2017-04-12 09:51 Nash Note Added: 0001320
2017-04-14 15:06 Graf Zahl Status new => resolved
2017-04-14 15:06 Graf Zahl Resolution open => fixed