AI - Potential pathfinding bug after resolving illegal memory access
Opened this issue · 1 comments
meekee7 commented
Illegal memory writes in the A* path search corrupted memory and caused crashes in completely unrelated code sections when the player died and restarted the level.
The illegal memory writes were resolved with a quickfix: the search is not performed when an illegal memory write is likely to occur. This change may have had significant impact on the dino behavior. To me, they seem less reactive to the player, and standing still more often.
It should be investigated as to whether this change had any real impact and what can be done to restore the old behavior without bringing back the crashes.