Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b8
Issue ID
639564
Regression
Yes
Disabled mesh collider registers to Raycasts
The scene contains a GameObject1 -> Gameobject2 -> Cube hiearchy. Gameobject2 is disabled (And thus, Cube is also disabled). Cube has a Mesh collider generated upon Start(). A Raycast is sent, and it hits the generated Mesh.
To reproduce:
1. Open attached project
2. Open TestRayV2 scene
3. Enter play mode
4. Click in the middle of the game window
Expected result: no collision
Actual result: Collision
Note: After clicking you'll notice that the hierarchy focuses on the disabled collider. That's the script, upon click it sends a raycast and selects the gameobject with which it colliders.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment