Skip to content

Inconsistent hard lock / Z_CheckHeap crash when switching maps with an activate Z-Target

How to reproduce:

  1. Set target lock to Sticky Hold, lock on to the GFZ3 boss
  2. Switch to GFZ1 with the target still locked on to the boss
  3. Immediately switch back to GFZ3 before doing anything
  4. If no crash, repeat steps 1-3 until it does

Be warned, doing these step may hard lock the game forever, and sometimes the process can't even be killed without a full system reboot.

Valgrind log: valgrind-out.txt

Video:
2024-12-20_11-37-53.mkv

Terminal output:
Screenshot_from_2024-12-20_11-46-20

On a DEBUG build I get this proper crash instead:
Screenshot_from_2024-12-20_12-12-48

Edited by candelavla