Search Issue Tracker

By Design

Votes

0

Found in

2021.3.27f1

2022.3.2f1

2023.1.0f1

2023.2.0a19

Issue ID

UUM-40441

Regression

No

White lines appear in the Game view when the Camera moves and the "Sprite Renderer" Component's "Draw Mode" is set to "Tiled"

--

-

How to reproduce:
1. Open the attached project “WhiteLinesRepro“
2. Open the “MissionScene“ Scene
3. Enter Play Mode
4. Hover the mouse over the arrows to move the Camera up and down for a few seconds

Expected result: White lines don’t appear
Actual result: White lines appear

Reproducible with: 2021.3.27f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a19

Reproduced on: macOS 13.4 (Intel), Windows 11 (by reporter)

Notes:
- Issue is reproducible in Player
- Issue is not reproducible if setting the “Draw Mode” to “Sliced“ or “Simple“ in the “Sprite Renderer” Component of the “MovementArea“ GameObject
- Adding a Material with the “Pixel Snap“ option enabled to the "Sprite Renderer" Component of the “MovementArea“ GameObject, made the white lines appear permanently (tested by reporter, couldn’t test this myself, because the “Pixel Snap“ option is only available if URP isn’t installed and the project breaks without URP, also wasn’t able to reproduce the issue in a new project to test this)

  1. Resolution Note:

    Working as intended. Sprite doesn't have enough padding, which results in pixel sampling getting clamped during positional changes. I advise adding more padding using Sprite Editor to avoid sampling artifacts.

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.