Reproduction steps:
1. Open the attached “OnTriggerStayIssue.zip” project
2. Open the “SampleScene” scene (Assets > Scenes)
3. Enter the Play mode
4. Observe the Game view
Expected result: Spheres turn white only when they collide with each other
Actual result: Some spheres turn white even when no collision is present
Reproducible with: 2023.3.0a5, 6000.0.7f1
Not reproducible with: 2021.3.39f1, 2022.3.34f1, 2023.3.0a4
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Does not reproduce if ChangeDetectionMode is set to false in the ‘ChangeColorOnTrigger.cs’ script