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
- Assertions and errors appear while undoing prefab asset replacement
- Prefab Asset reference to itself changes when closed and reopened
- Adding "Vertical Layout Group" Component to a "TMP Button" and then pressing "Undo" does not change the Text position back
- Handles.RotationHandle and Handles.PositionHandle trigger prefab override when updating current values with the same values
- Undo operation doesn't undo an instance of prefab which was previously deleted and recreated from the same instance
Add comment