How to reproduce:
1. Open the user’s attached “CompositeCollider2DBug.zip” project
2. Enter Play Mode
3. Wait a few seconds
4. Observe the result
Expected result: Collider of “Enabled” GameObject is working
Actual result: Collider of “Enabled” GameObject is not working
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.4f1, 2023.3.0b1
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested
Notes:
reproducible in the Editor and Standalone Player (macOS)
collider works if disabling and enabling the GameObject
when manually turning "isTrigger" on and then off again in the Inspector, the CompositeCollider2D works again
Collider doesn’t work if
Calling GenerateGeometry()
Setting the Generation Type to Manual
Disabling & enabling the BoxCollider2Ds instead of the CompositeCollider2D