Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
Votes
0
Found in
2021.3.30f1
2022.3.8f1
2023.1.11f1
2023.2.0b7
2023.3.0a3
Issue ID
UUM-47055
Regression
No
Raycast does not detect hit with the Character Controller Collider when casting it towards the Camera which is inside the Collider
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
4. Walk in front of the NPC, so that you enter his field of vision
5. Observe the Console
Expected result: Raycasts detect hits with the Character Controller Collider (“Raycast has hit Player” log message appears in the Console)
Actual result: Raycasts does not detect hits with the Character Controller Collider (“Raycast has hit <GameObject behind the Player>” log message appears in the Console)
Reproducible with: 2021.3.30f1, 2022.3.8f1, 2023.1.11f1, 2023.2.0b7, 2023.3.0a3
Reproducible on: Windows 10 Pro 22H2, Ubuntu 23.04
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Raycast does detect hits with the Character Controller Collider.
Making the character controller collider with Radius: 0.5 and Height: 3, triggers the action.
Resolution Note (2023.3.X):
Raycast does detect hits with the Character Controller Collider.
Making the character controller collider with Radius: 0.5 and Height: 3, triggers the action.