Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
Issue ID
1033190
Regression
No
[HDRP] Wrong CameraType of "Preview Camera"
The CameraType value of "Preview Camera" is CameraType.Game instead of CameraType.Preview
Here the code to test it:
Code (CSharp):
if (camera.name.ToLower().Contains("preview"))
{
Debug.Log("CameraType: "+camera.cameraType.ToString() +" Name: "+ camera.name);
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ListView fails to display items when the source list is cleared and a single element is added
- UI Toolkit ':hover' state remains active when another panel is drawn over the hovered element and Touch input is used
- Unsupported Orient modes can be selected and throw errors when using Strip VFX
- "Tab" key exits the name text field in the VFX Graph tab when renaming the Property
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
Add comment