Reproduction Steps
Today I noticed that some SurfaceGuis inside my game had a weird highlight based on the distance of my camera. After a bit of digging, I found out it’s due to DepthOfField for some reason. I’ve created a reproduction place that you can visit here or you can download the reproduction file provided.
Reproduction Steps
- Create a part within workspace that contains a SurfaceGui
- Add a GuiObject of some kind that’s visible to the SurfaceGui, like an ImageLabel
- Ensure that the SurfaceGui has AlwaysOnTop set to
false
- Insert a DepthOfField object underneath Camera or Lighting
- Move your camera around and observe how the SurfaceGui has a weird highlight
System Information
AMD Ryzen 7 2700X Eight-Core Processor @ 3.95 GHz, 16GB, NVIDIA GeForce RTX 2070 SUPER
Reproduction Files
DepthOfField Bug.rbxl (39.5 KB)
Expected Behavior
I expect DepthOfField to cause no weird highlight on SurfaceGuis that have AlwaysOnTop set to false
.
Actual Behavior
DepthOfField causes a weird highlight on SurfaceGuis that have AlwaysOnTop set to false
.
Issue Area: Engine
Issue Type: Display
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-10-27 15:10:00 (-07:00)