Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
5.5.0f3
Issue ID
878205
Regression
No
Changing the projection of Scene camera via 'SceneView.lastActiveSceneView.orthographic' doesn't update the Scene Gizmo label
When the projection of Scene camera is changed via 'SceneView.lastActiveSceneView.orthographic', the Scene Gizmo label, indicating the projection of Scene camera, is not updated to match the actual value of 'SceneView.lastActiveSceneView.orthographic'.
Steps to reproduce:
1) Open the latest attached project.
2) In the Menu, go to Camera Menu > Switch Camera Type.
The projection of the Scene camera switches between orthographic/perspective, however, the Scene Gizmo shows the last setting that was set manually (by clicking on the Gizmo itself). Only the text is not updated - the three lines (parallel when orthographic, connected at one end when perspective) are updated properly.
Code used in the Editor script: SceneView.lastActiveSceneView.orthographic = !SceneView.lastActiveSceneView.orthographic;
Reproduced on:
5.6.0b7, 5.4.4p2, 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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment