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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.