Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X

Votes

8

Found in

6000.0.11f1

6000.1.0a7

6000.2.0a1

7000.0.0a1

Issue ID

UUM-76563

Regression

No

[Android][URP][XR] Soft Shadows not working in the Player when using ARCore XR Plug-in

-

Steps to reproduce:
1. Open the “IN-70214” project
2. Ensure that Soft Shadows are enabled in Assets/Settings/URP Renderer asset → Inspector → Shadows
3. Disable Niantic Lightship SDK in Project Settings → XR Plug-in Management from Plug-in Providers and enable Google ARCore
3. Build And Run the project on the device
4. Observe the shadows

Expected result: The shadows are soft
Actual result: The shadows are hard-edged

Reproducible with: 2022.3.11f1 (5.0.5, 5.1.0), 2022.3.22f1 (4.2.0, 5.1.2), 2023.2.15f1 (5.1.2), 6000.0.0b12 (6.0.0-pre.5)
Not reproducible with: 2021.3.36f1 (4.2.10), 2022.3.10f1 (5.0.5, 5.1.0)

Testing environment: macOS Sonoma 14.3.1 (Intel), Windows 10 (by user)
Not reproducible on: No other environment tested

Reproducible with these devices:
VLNQA00472 - samsung Galaxy A52 (SM-A525F), CPU: Snapdragon 720G (SM7125), GPU: Adreno 618, OS: 12
VLNQA00017 - Huawei Nexus 6P (Nexus 6P), CPU: Snapdragon 810 MSM8994, GPU: Adreno 430, OS: 8.0.0
VLNQA00526 - samsung Galaxy A12 (SM-A125F), CPU: Mediatek MT6765 Helio P35 (12nm), GPU: PowerVR Rogue GE8320, OS: 12
VLNQA00334 - Xiaomi Mi A3 (Mi A3), CPU: Snapdragon 665 SM6125, GPU: Adreno 610, OS: 11
VLNQA00409 - Galaxy Z Fold3 5G (SM-F926B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11

Not reproducible with these devices:
iOS (doesn’t support Google ARCore XR Plugin)

Notes:
- Doesn’t reproduce when Google ARCore in XR Plug-in Management → Plug-in Providers is disabled
- The issue is in Editor versions and not in the ARCore package versions, so no regressed package version

Comments (6)

  1. DevDunk

    Dec 19, 2024 12:01

    Might be further down the line, since this also happens at 2022

  2. krzys_h

    Dec 18, 2024 14:03

    This is related to the soft shadow optimization on Quest and HoloLens introduced in 17.0.0 version of URP. It breaks only when the soft shadow quality is set to High.

    The bug is in UniversalRenderPipelineCore.cs, in ShaderGlobalKeywords.InitializeShaderGlobalKeywords(). Somebody made a copy-paste error, and forgot to initialize the SoftShadowsHigh field.

    As a workaround, you can patch the URP package to add the missing line, or switch to Medium or Low soft shadow quality in the URP asset until the bug is fixed.

  3. jacquesfrety

    Dec 15, 2024 03:46

    Still having this issue with Meta Quest 3 VR using Unity 6.000.0.17f1
    That's pretty bad !

  4. Archi97

    Oct 22, 2024 09:32

    Please fix.
    Issue exists in Unity 6 LTS, Unity 2022.3.50 LTS

  5. DevDunk

    Oct 01, 2024 08:05

    Please fix this. Soft shadows are crucial for immersion

  6. DevDunk

    Mar 16, 2024 16:30

    Also happens with VR

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.