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
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Add comment