Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4.1f1
2021.1
Issue ID
1288056
Regression
No
[macOS] Unexpected Color data is stored when using "#pragma only_renderers framebufferfetch" in Shader
How to reproduce:
1. Open the attached project's "case_1288056-Project.zip" Scene labeled "SampleScene"
2. Enter the Play Mode
3. Preview the "Image (1)" GameObject
4. In the Project Window, open the "fbfetch" Shader
5. Inspect the Shader's code
6. In the Inspector, click "Compile and show code"
7. Inspect the generated code
Expected result: lastFragData color is stored
Actual result: First colorType member in v2f struct is stored
Reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a7
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a8