Search Issue Tracker

Fixed

Fixed in 6000.0.13f1, 7000.0.0a1

Votes

0

Found in

6000.0.4f1

Issue ID

UUM-73222

Regression

Yes

SpriteRenderer Sprite visual appears unchanged when changing it during the Runtime in 2D URP projects

--

-

Reproduction steps:
1. Open the attached "ASDQWE" project
2. Build and run the Player (File > Build And Run)
3. Observe the Player

Expected result: All sprites' shapes are visible (square, triangle, circle, capsule)
Actual result: Instead of a square a deformed circle is displayed and the triangle's bottom edge appears round while the rest of the shapes appear fine (circle, capsule)

Reproducible with: 6000.0.2f1, 6000.0.4f1
Not reproducible with: 2021.3.39f1, 2022.3.32f1, 6000.0.1f1

Reproducible environment: MacOS Sonoma 14.5 (Intel), Windows 11 (user's)
Not reproducible environment: No other environment tested

Reproducible on:
MacOS Standalone Runtime
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00057, Htc One M9+ (HTC_M9pw), Android 6.0, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200
VLNQA00146, Htc 10 (HTC 10), Android 8.0.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00372, Samsung SM-G991U (SM-G991U), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Android S23 Ultra (user's)

Not reproducible on:
MacOS Buildtime (Game, Simulator View)
iPhone 13 (iOS 15.0)

Workaround: In the script, remove and add the SpriteRenderer component and then change the Sprite

Notes:
- The issue does not occur in the 2D Built-In RP project

  1. Resolution Note (fix version 6000.0.13f1):

    Fixed an issue in SRP-Batcher where Sprite Visual appears unchanged when changing sprites during Runtime.
    Fix will be available on Unity 6000.0.13f1 and above

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.