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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
Add comment