Crashes

This is an overview of known crashes in Deus Ex

Unknown code token

This happens when state code (not functions, but the other stuff) is changed between saving and loading a game. It's generally problematic to use old saves when testing new code.

Assertion failed: lockCount <= 0

This is an orphaned Window instance that the RootWindow couldn't find before unloading a level. You have probably created a Window without storing its reference somewhere.

Level hangs and then crashes with no error

This can happen if you have several Inventory actors placed close together, as they create InventorySpots that are used for path finding. The easiest solution is to just space them further apart, but you can also do a search for InventorySpot actors and remove them before playing. Newer versions of UnrealEd 2.2 fixes this automatically.