Search Issue Tracker
Fixed
Fixed in 2021.3.14f1, 2022.2.3f1, 2023.1.0a18
Votes
11
Found in
2021.3.8f1
2022.2.0b8
2023.1.0a12
Issue ID
UUM-15339
Regression
No
Performing Android and iOS batch-mode builds causes error in RenderTexture
Steps to reproduce:
1. Open the attached project "T1357998_NoGraphics.zip" with the following commands: "EditorPath" -batchmode -nographics -projectPath "Path" -executeMethod Test.MyTest -logfile "Path\Test.txt" -buildTarget Android
2. Open the log file
3. Notice that this error is logged constantly: "RenderTexture.Create with shadow sampling failed: Hardware does not support shadow compare sampling"
Expected: Performing Android and iOS batch-mode builds does not cause RenderTexture errors
Result: The “RenderTexture.Create with shadow sampling failed: Hardware does not support shadow compare
sampling” error is spammed in the log file
Reproducible on: 2021.3.8f1, 2022.1.15f1, 2022.2.0b8, 2023.1.0a12
Could not test on 2020.3.40f1 due to build not performing in batchmode
Notes:
-Reproducible with Android and iOS platforms
Comments (3)
-
spacefrog
Jan 10, 2023 14:34
Happens to us on Unity 2022.1.23f1
the fix should land on all unity versions -
KrisDanielB
Nov 14, 2022 13:38
Hey guys, stucked into the same issue. Nice that you fixed that. My project is on 2021.3.11f1 version, where can I download 2021.3.14 unity version?
-
log_macky
Nov 01, 2022 23:39
Seeing this in 2021.3.12f1 when building standalone on a linux pipeline with -batchmode -nographics
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2021.3.14f1):
Fixed in 2021.3.14f1