Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0a1
2019.3.0b1
Issue ID
1179935
Regression
Yes
RenderTextures break after switching window focus
After losing the window focus, Render Textures stopped rendering.
To reproduce this:
- download the minimal project in the comments
- notice the game tab shows blue
- Play the "repro" scene
- notice the game tab now shows black
- minimize and go back to unity again - game tab now shows all white
Expected:
- game tab is solid black color after minimise
Actual:
- game tab solid white color after minimise
Reproduced on Metal, OpenGL, DX and Vulkan
Reproduced on Windows and MacOS
Cannot reproduce in 2019.2.4f1
Reproducible in 2019.3.0a1, 2019.3.0a2, 2019.3.0a8, 2019.3.0b1 and 2020.1.0a2
Workaround:
Add the following code block before the first SubShader block in both Light2D shaders "LightBlender.shader" and "NormalMappedLight.shader"
Properties{
_MainTex("_MainTex", 2D) = "black" {}
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException is thrown when pressing the "Enter" key to select an item in a ListView
- Burst internal compiler errors are thrown when creating a new 2D project
- Tile Paint action disappears from Undo History when Tile Selection tool has been used beforehand
- The pregenerated LightDefinition.cs.hlsl does not match the source LightDefinition.cs when regenerating shader includes
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
Add comment