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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note (fix version 2021.3.14f1):
Fixed in 2021.3.14f1