Search Issue Tracker
Fixed in 2023.1.X
Votes
1
Found in
2019.4
2020.3
2021.2
2021.2.4f1
2022.1
2022.2
Issue ID
1385425
Regression
No
A multisampled texture being bound to a non-multisampled sampler errors appear when Render Path is set to "Deferred"
Reproduction steps:
1. Download and open the attached "DE URP 12.1.1.zip" project
2. Open the "Bug Test" scene
3. Select the "Main Camera" game object in the Hierarchy window
4. Observe the console window
Expected result: No errors appear
Actual result: "A multisampled texture being bound to a non-multisampled sampler. Disabling in order to avoid undefined behavior. Please use Texture2DMS in the shader. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" errors are spammed
Reproducible with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.30f1), 12.1.4 (2021.2.13f1), 13.1.5 (2022.1.0b9), 14.0.0 (2022.2.0a5)
Comments (2)
-
Petricevic
Feb 16, 2024 14:38
Never mind, I figured out that after updating my Quest/VR project to URP the Depth Texture Mode in the Universal Renderer Data was set to "After Transparents". That together with the Decal Renderer Feature led to the error being shown on Unity 2022.3.20f1. Setting it to "After Opaques" fixes the issue.
-
Petricevic
Feb 15, 2024 15:36
Any change to backport this to 2022 LTS / URP 14? According to this forum post it's only two lines of code: https://forum.unity.com/threads/a-multisampled-texture-being-bound-to-a-non-multisampled-sampler-disabling-in-order-to-avoid-undefi.1206619/#post-7968159
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
- Users get "Not found/404" when clicks link "Special thanks to our beta users"
- Search CustomIndexer workflow using IndexProrpety doesn't work if property name is not in lowercase
- [URP] [Vulkan] Fantasy kingdom crashes editor when switched to Vulkan
- UnityException: get_disableApplyMaterialPropertyDrawers can only be called from the main thread
- DX12 Projects close and are not being created when creating XR Templates on an XPS 13 Arm Device
Resolution Note (fix version 2023.1):
Fixed in: 15.0.1 (2023.1.0a10)