Search Issue Tracker
Fixed in 5.0.X
Votes
1
Found in
4.5.2f1
Issue ID
622889
Regression
No
Spherecast somehow finds less intersections than a raycast
To reproduce:
1. Open attached project
2. Open test scene
3. Press play
4. Select Debug Wire object
In this test scene you can toggle the "Use Sphere Cast" bool to run the CheckConnection() method in DebugWire (using either a sphere cast or ray cast depending on whether or not the bool is true).
5. Notice that when "Use Sphere Cast" is toggled off (ray cast is used) two element is detected.
6. Toggle on "Use Sphere Cast"
7. Notice that when sphere cast is used only one element is detected
8. In scene view move away DebugWire game object from Cubes
9. Create two duplicates of one of the cubes and place them next to each other
10. Select DebugWire and toggle "Use Sphere Cast"
11. Move DebugWire on cubes so that all 4 cubes would be in contact with DebugWire (before moving make sure that "Use Sphere Cast" is toggled off)
12. Toggle on "Use Sphere Cast"
13. Now all elements on DebugWire are detected by ray cast and sphere cast
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment