Search Issue Tracker
Fixed in 2.1.8
Votes
0
Found in [Package]
2.1.6
Issue ID
1174195
Regression
Yes
[PostProcessing] Graphics.CopyTexture() errors are thrown when disabling HDR having Global Post-Process Volume with SSR enabled
How to reproduce:
1. Open the "SampleScene" in the attached project "case_1174195-SSR_Bug"
2. Make sure SSR is enabled in the "Post-Process Volume" GameObject
3. In the Main Camera Inspector, set the HDR to "off"
Expected results: No errors are thrown
Actual results: CopyTexture() errors are thrown
Reproducible with: 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a11 (Package ver. 2.1.6, 2.1.7)
Not reproducible with: 2017.4.31f1 (using Post Processing Stack from Asset Store)
Additional notes:
1. Full error message:
"Graphics.CopyTexture can only copy between same texture format groups (d3d11 base formats: src=27 dst=9)"
2. With Post Processing version 2.1.5 and lower no errors are thrown, but the Game window is a black screen. However, Enabling "Directly to Camera Target" checkbox in the "Post Process Layer" Component of the Main Camera fixes the black screen problem.
3. On several Unity versions, different errors occur. For example, in 2019.2.1f1 (package ver. 2.1.7) such error is thrown:
"RenderTexture.Create failed: format unsupported for random writes - RGBA8 sRGB (4).UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"
4. Post Processing Stack Asset was throwing an error in Unity 2018.4. Full error message:
Assets\PostProcessing\Editor\PropertyDrawers\MinDrawer.cs(6,34): error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2.1.8):
Fixed. Will be part of the next package release (2.1.8).