halflife icon indicating copy to clipboard operation
halflife copied to clipboard

momentary_door blocking ai nodes freezes game in c2a3d

Open mfaizsyahmi opened this issue 1 year ago • 1 comments

This happens on c2a3d (the apprehension map) with a fresh node graph.

The game freezes, and checking the generated qconsole.log it appears that the AI system is crippling the game, spamming Unhandled Ent in Path momentary_door. This error is emanated from dlls/nodes.cpp, line 283.

Proposed fix

Add momentary_door to the entity check in the same function and handle as appropriate. Seems to me that check can be done together with func_door.

mfaizsyahmi avatar Oct 04 '22 15:10 mfaizsyahmi

Note that this freeze is temporary while the game generates the node graph. Depending on how fast your computer is it could take a couple dozen seconds or a couple minutes. Enabling developer mode slows it down a lot because it logs the error every time it checks the entity.

SamVanheer avatar Oct 06 '22 14:10 SamVanheer