Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

Issue ID

1033190

Regression

No

[HDRP] Wrong CameraType of "Preview Camera"

Graphics - General

-

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);
}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.