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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note (fix version 2.1.8):
Fixed. Will be part of the next package release (2.1.8).