Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0b7
Issue ID
916543
Regression
No
Modifying Collider Mask on runtime skips a frame without collision for the object
To reproduce:
1. Download attached project "Platform test.zip" and open in Unity
2. Open "test" scene
3. Enter to Play mode
4. Press "E" button on your keyboard and hold it
Expected result: In Game window you will see that "player" game object will always flash red
Actual result: In Game window you will see that "player" game object will flicker with red and white colors once per frame
Note: Holding "E" button will let a class run a method to modify the Collider Mask, regardless of what you set it to, the Collider will turn off completely for a frame.
Note: In the Inspector for the "Platform" game object, changing the Rate of the Platforms script will change how often it updates - no matter the rate the next frame will always skip the collision. The "player" game object will flash red when its collider is not touching the platform and white when it is.
Reproduced on Unity 5.5.3p4, 5.6.1p2, 2017.1.0b8 and 2017.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment