Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0a2
Issue ID
1024195
Regression
Yes
NonAlloc queries return RaycastHit arrays with null/empty members
1. Open attached project
2. Open scene scene.unity
- Note there is a Cube in the scene, along with two red Sphere gizmos
3. Play the scene
- The sphere gizmos should turn green (representing that the Query has received some number of results), and there should also be a yellow ray representing RaycastHit.position and RaycastHit.normal
4. Select the Origin gameobject, then change the Query Type from Sphere Cast to Sphere Cast Non Alloc
- Note that the sphere gizmos are green, indicating that there are results, however no yellow ray is drawn, indicating that the returned array is empty
- Reproduced with 2018.2.0a2, 2018.2.0a8
- Not reproducible with 2018.1.0b10
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