Unity Issue Tracker - Shader errors appear when calling Shader.WarmupAllShaders()
Fixed
UUM-53114
Shader errors appear when calling Shader.WarmupAllShaders()
Unity: Shader System
Mac
Fixed
2023.3.X
2022.3.X
2021.3.X
Won't Fix
2023.2.X
2023.1.X
Unity was not properly detecting the case where a default texture property might be a multisampled texture (it is not technically supported by the syntax, so there is not a direct way to handle it in the shader other than not declaring a default).
2023.2 is no longer supported.
Verified with: 2021.3.37f1.git.3891205 Personal
Revision: 2021.3/staging 3b6005ad5ad6
Built: Tue, 26 Mar 2024 21:50:09 GMT
How to reproduce:
1. Download and open the attached project
2. Attach the "Test" script to the Main Camera
3. Enter Play mode
4. Observe the Console window
Expected outcome: No errors appear
Actual outcome: "A non-multisampled texture being bound to a multisampled sampler. Disabling in order to avoid undefined behavior. Please enable the bindMS flag on the texture." errors appear