Unity Issue Tracker - Error is thrown when binding an attachment to Input 0 while using RenderPass API
Fixed
UUM-35890
Error is thrown when binding an attachment to Input 0 while using RenderPass API
Unity: Metal
iOS
Fixed
2022.3.X
Won't Fix
2023.1.X
2022.2.X
Fixed in 2022.3.7f1
2022.2 will not receive any more updates
How to reproduce:
1. Open the attached Project “Native Render Pass Unity Revised”
2. Select Assets/Settings/URP-Performant.asset
3. In the Inspector, under Quality change "Anti Aliasing (MSAA)" to Disabled
4. Build and Run the Scene “SampleScene” on iOS
5. Observe the Xcode Console
Expected result: No errors can be seen in the Xcode Console
Actual result: The following error can be seen in the Xcode Console:
"program_source:104:5: error: 'color' attachment 0 has different types on input ('float4' (vector of 4 'float' values)) and output ('half4' (vector of 4 'half' values))
float4 hlslcc_fbinput_0 [[ color(xlt_remap_i[0]) ]]"
Reproducible with: 2022.2.19f1
Could not test with: 2020.2.20f1 (a different issue is preventing testing), 2020.3.48f1, 2021.3.25f1, 2023.1.0b17, 2023.2.0a15 (Project uses custom package which prevents changing stream)
Reproduced with:
iPhone 13 (iOS 15.0)
iPhone 12 mini (iOS 14.1)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?