Search Issue Tracker
Won't Fix
Votes
4
Found in
4.6.0b8
Issue ID
604204
Regression
No
GUI drawn via SceneView.onSceneGUIDelegate is offset in deferred rendering mode
To reproduce:
1. Open the attached project
2. Open scene "demo"
3. Ensure that player settings Rendering Path = "Forward"
4. Select "Main Camera" and verify that two buttons are displayed in the Scene View, at the top of the camera view, but not going outside.
5. Change Rendering Path to "Deferred Lighting"
6. Notice that the button labeled "OnSceneGUIDelegate" is now positioned at the top of the scene view window, instead of at the top of the camera area. The button labeled "OnSceneGUI" is still placed as it was in "Forward" rendering mode.
Comments (4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Jake L.
Oct 10, 2014 10:34
Compensating the offset is fine visually (BeginArea()...EndArea()), but mouse events keep using the bugged positions...I didn't found a way to workaround this!
Arthurial
Sep 15, 2014 12:51
I have can confirm this too and as Jake says it only affects perspective mode, Iso is fine.
However, forcing the editor to run in OpenGL does not fix the symptom for me/us.
Forward rendering is not sufficient for modern games, so this is something that really needs addressing soon.
Michiel-Frankfort
Sep 07, 2014 12:12
I encountered exactly the same issue while building an Unity-editor tool. After speding days trying to compensate the offset (x=2, y = 36) I found out it can be solved by forcing the editor to run Open-GL
Just add ' -force-opengl' to the launch path in your unity-editor shortcut like this:
"C:\Program Files (x86)\Unity\Editor\Unity.exe" -force-opengl
Jake L.
Sep 04, 2014 07:52
In addition, this is only happening when using perspective camera. Using Iso mode works fine (4.5)