View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000572||Gameplay + OpenGL||[All Projects] Bug||public||2017-04-12 09:49||2017-04-14 15:06|
|Summary||0000572: Static thinker bloat with hub levels|
|Description||It 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 Reproduce||1) 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
|Tags||No tags attached.|