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
Comments (1)
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
- “Create and publish WebGL builds” link leads to “Sorry about that, we can't find the page you're looking for.” page
- " Suspected crash in FXC. " shader compiler errors are thrown in a new project when creating a project in Hub with a very long name but below the maximum character threshold
- Long cloud names stretch the space in Hub when the Project dropdown is opened
- OpenGLES3 Graphics API can be used with the "Linear" Color space on unsupported GPUs resulting the error spam
- [Windows] Recommended and Downloaded Learn tabs are empty and have scrollbar
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.