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

  1. Resolution Note (fix version 2021.3.14f1):

    Fixed in 2021.3.14f1

Comments (3)

  1. spacefrog

    Jan 10, 2023 14:34

    Happens to us on Unity 2022.1.23f1
    the fix should land on all unity versions

  2. 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?

  3. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.