ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.47k stars 540 forks source link

[BUG] Node cache and LevelPostProcessor #2561

Open MrRaveYard opened 4 months ago

MrRaveYard commented 4 months ago

GZDoom version

4.12.1

Which game are you running with GZDoom?

None

What Operating System are you using?

None

Please describe your specific OS version

No response

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

Nodes generated for a level that's modified by LevelPostProcessor are reused even for the unmodified level, thus completely breaking the level. This map is now persistently broken until the node cache is cleared.

Steps to reproduce the behaviour.

  1. run megalevel.pk3.zip
  2. set gl_cachenodes 1 and gl_cachetime 0 to always trigger node caching
  3. enter a map
  4. exit
  5. run regular GZDoom with no mods and go to the same map
  6. the map will now be broken (you can clear node cache to fix this)

Your configuration

No response

Provide a Log

No response