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
-
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 2021.3.14f1):
Fixed in 2021.3.14f1