I am almost at the end of developing an application for Windows 10 desktop, for use in a museum with a touch screen. The app is built in HDRP and has a bug where a black rectangular area appears in 3D space (see 2 of the videos for examples of the bug). I do not know what is causing this black area to appear. The app will run on 2 almost-identical PCs (identical hardware, slightly different drivers / windows build) in the museum, both of which I currently have for testing. I have seen the bug happen on both of these PCs. The bug appears to be a visual issue only, the app still continues to run and can be interacted with.
The black area bug
Basic overview of 3D space in Unity Editor, showing the plane used for the background image and also the globe.
How the scene looks through the camera when the bug has not occurred.
The problem can occur when the app is not being used / interacted with, just running in screensaver mode where a 3D globe rotates constantly. The problem appears after a variable amount of time after the app has been started. I have seen it happen after 1 hour of running, after 4 hours of running. If I leave both PCs / apps running overnight or over a weekend, when checked the next morning / after the weekend, the problem has occurred on both PC / apps. I have also left the app running on my own development laptop for 3.5 days over a long weekend, and the app was actually running OK when I checked it, the bug had not occurred. I am now running the app on another (4th) PC to see if the issue is PC-related. I have only seen the problem when running the app as a windows exe, not in the Unity Editor.
When the problem occurs, if I navigate the app to another unity scene and then return to the scene with the rotating globe, all the visuals appear correctly and the issue has gone, until it happens again.
When the black rectangle occurs, many items on screen can still be seen in front of the black (they are mostly coloured white or cream in the videos I have included). All these items are either HDRP Unlit transparent materials rendered after post-process, or Canvas UI. The items that seem to be covered / hidden by the black area are the 2 meshes used for the globe (ocean and land), and also the plane used for the background image. The ocean and land on the globe both use HDRP Lit opaque materials, the background plane material uses a HDRP Unlit opaque material.
The app was initially developed in Unity 2019.4.7f1 (HDRP 7.3.1). After the bug was discovered, I updated the app to Unity 2019.4.26f1 (HDRP 7.6.0), but the bug is still happening. I have duplicated the Unity project and updated the duplicate to Unity 2020.3.10f1 (HDRP 10.5.0), so I now have 2 versions that I am testing and trying to eliminate features from, in order to identify the cause. I have only been testing the Unity 2020.3.10f version for less than a day, the problem has not occurred yet.
So far I have disabled the following in my scene and then retested, to see if these might be the cause:
- Post Processing global volume (contains 9 overrides) - Vignette, Exposure, White Balance, Film Grain, Depth Of Field, Tonemapping, Color Adjustments, Ambient Occlusion, Contact Shadows. These were disabled by deactivating the entire gameobject that contains the volume. The bug still happens with these disabled.
- Directional Light (there is only one light in the scene). This was disabled by deactivating the entire gameobject that contains the light. This is currently being tested to see if the bug occurs.
- Sky and Fog global Volume. This was disabled by deactivating the entire gameobject that contains the volume. This is currently being tested to see if the bug occurs.
The videos I have included show that the globe and background plane are still actually present when the black area appears, they just seem to be covered / hidden by it.
Can anyone help me to identify what might be the cause of this issue?
Testing PC specifications
- Museum PC 1 – Windows 10 Enterprise (20H2 19042.928), i5-9400F (2.9 GHz), 8GB RAM, 500GB SSD, Nvidia GTX 1660 Ti 6GB (driver 432.00)
- Museum PC 2 – Windows 10 Enterprise (20H2 19042.746), i5-9400F (2.9 GHz), 8GB RAM, 500GB SSD, Nvidia GTX 1660 Ti 6GB (driver 456.71)
- My development laptop – Windows 10 Pro (20H2 19042.985), i7-6700K (4 GHz), 32GB RAM, 2 x 500GB SSD, Nvidia GTX 970M 6GB (driver 466.27)


