Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
5.3.5p6
Issue ID
812315
Regression
No
Terrain objects doesn't inherit collision layer but does inherit layer when using culling mask
Steps to reproduce:
1. Open project
2. Open "Scene" scene
3. Select "Tree" prefab and change layer to any other (not Default)
4. Select Terrain object in hierarchy and set layer to Default (if it's not set)
5. Select Camera and unselect Default layer in culling mask
-- Notice that terrain and all terrain objects aren't rendered in game view
6. Select camera and select every layer in culling mask
7. Play in editor
8. Ray cast with mouse click in game view window on terrain and terrain's objects
-- Notice that ray cast ignores terrain's objects as they aren't on default layer
Results: Terrain objects doesn't inherit collision layer but does inherit layer when using culling mask
Note: Behaviour should be unified in all cases
Reproduced with: 5.4.0b25, 5.3.5p7, 5.2.4f1
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