Search Issue Tracker
Duplicate
Votes
2
Found in
6000.0.10f1
Issue ID
UUM-75296
Regression
Yes
[iOS] Error "RenderPass: Attachment 0 was created with 4 samples but 1 samples were requested. " is thrown when using UIToolkit and URP RenderGraph on iOS device
How to reproduce:
1. Open the “IN_79256” project
2. In the Build Settings make sure iOS platforms is selected
3. Build project to the device
4. Observe the Console in the Xcode
Expected result: No errors in the Console
Actual result: RenderPass, NextSubPass and EndRenderPass errors in the Console
Reproducible with: 2023.3.0b1, 6000.0.10f1
Not reproducible with: 2021.3.40f1, 2022.3.37f1, 2023.3.0a19
Testing environment: Sonoma 14.5 (M1), Windows 10 Pro
Not reproducible on: No other environments tested
Reproducible on these devices:
VLNQA00357, iPhone 12 Mini
VLNQA00348, Ipad Air (4th generation)
VLNQA00359, iPhone 12 Pro
Not reproducible on these devices:
VLNQA00470, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: Exynos 9 (9820), GPU: Mali-G76
VLNQA00120, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00611, Samsung Galaxy S24 Ultra (SM-S928B), Android 14, CPU: Qualcomm SM8650-AB Snapdragon 8 Gen 3, GPU: Adreno (TM) 750
Notes:
- Not reproducible on the Android and macOS players (others not tested)
- Not reproducible in the Editor
- No mentioned errors if project is using only UIToolkit or URP
Full error:
{noformat}RenderPass: Attachment 0 was created with 4 samples but 1 samples were requested.
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, UniversalCameraData)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack(ScriptableRenderContext, Camera)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1)
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object)
[ line 1860739960]
NextSubPass: Not inside a Renderpass
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, UniversalCameraData)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack(ScriptableRenderContext, Camera)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1)
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object)
[ line 1860740712]
EndRenderPass: Not inside a Renderpass
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, UniversalCameraData)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack(ScriptableRenderContext, Camera)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1)
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object){noformat}
-
Resolution Note:
MSAA sample count mismatch warning appearing at first frame in IOS player for URP has been removed. Thanks for your feedback!
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-72473
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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
This is a duplicate of issue #UUM-72473