How to reproduce:
1. Download and open the attached project
2. Enter Play mode
3. Observe the Console window
Expected result: ContactModifyEvent is called on every collision event
Actual result: ContactModifyEvent is no longer called after 2 collision events
Reproducible with: 2021.3.47f1, 2022.3.54f1, 2023.3.0a18
Not reproducible with: 6000.0.31f1, 6000.1.0a8
Fixed in: 2023.3.0a19
Reproducible on: macOS 15.1.1 (M1 Max)
Not reproducible on: No other environment tested