Search Issue Tracker
By Design
Votes
1
Found in
5.5.1f1
Issue ID
881283
Regression
No
[Editor] [Deferred] Light/normal direction getting reversed on actions when scene and game view is visible at the same time
Reproduction steps:
1. Open the attached project called ""
2. Make sure Editor is running in the DX11 mode.
3. Put the Game and Scene views in the same window, so both of them are visible at the same time.
4. Move mouse around, click on the random things and resize the windows(GIF attached(2:31 PM)).
- You should see a lighting changes in the game view on the objects.
Notes:
- Issue doesn't reproduce when camera Rendering Path is set to Forward, only in Deferred
- Not a regression, reproduced on 5.5.0f3, 2017.1.0b5
- Issue only occurs when custom shaders are used, doesn't occur with Standard shader
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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
TheOmnisimush
Jun 16, 2018 18:40
In Deferred rendering, "_WorldSpaceLightPos0" value seems to change
when both Game window & Scene window are opened.
-> this causes the "Lighting change / flickering" effect on custom shaders.
While in Game mode, the problem does not occur,
this still remains a problem because this "Flickering on Edit Mode" looks somehow "Buggy"
and will give the developer a "False Alarm" :
"Does my Custom Shader has incorrect computation somehow??"
And to make matters worse,
if the Developer decided to share his/her shader online or to sell it on AssetStore,
users buying it will think of it as bug or glitch, not awaring of this problem.
Fixing this issue will be very much appreciated.