Search Issue Tracker

By Design

Under Consideration for 2021.3.X, 2022.3.X, 2023.2.X

Votes

1

Found in

2021.3.28f1

2022.3.5f1

2023.2.0a23

Issue ID

UUM-42791

Regression

Yes

Rendering and vertex position mismatches when using the Offset property

--

-

Reproduction steps:
1. Open the attached project “OffsetBug“
2. Open the Scene “Assets/Scenes/SampleScene”
3. In the Hierarchy window select the GameObject “Square”
4. Observe the Scene View

Expected result: Vertex and rendering positions are the same
Actual result: Positions do not match

Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.0a10, 2023.2.0a16, 2023.2.0a23
Not reproducible with: 2023.1.4f1, 2023.2.0a15
Fixed in: 2023.1.0a11

Reproducible on: Windows 11

  1. Resolution Note:

    This is a known issue when Dynamic-Batching is enabled as vertices are pre-transformed to batch multiple different sprites using the same texture/material. Hence any object space change to vertices won't really work.

    To workaround such use-cases, please either use SRP-Batcher or enable Instancing.

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.