Hi there,
wouldn’t it help just to check if event.contact exists and only if it does to set event.contact.isEnabled ?
Also I assume you won’t notice that one missing event, cause you got plenty of preCollision events for a single collision event.
if event.contact then event.contact.isEnabled = false end
Greetings
Torben