Search Issue Tracker

By Design

Votes

0

Found in

2022.3.33f1

6000.0.7f1

Issue ID

UUM-74174

Regression

Yes

AssetReferenceAtlasedSprite members can't be set in the Inspector window when sprites are packed in atlases

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Select the “Assets/New Scriptable Object With Sprite References.asset” asset
3. Select the “Asset Reference Atlased Sprite” field in the Inspector window
4. Click on the selector to open the list of atlased sprites

Expected result: The select dialogue should show the “Assets/Sprites/Smile.png” asset because it is packed in the “Assets/SpriteAtlasContainingIndividualSpriteInAddressables.spriteatlasv2” atlas
Actual result: The select dialogue does not list any sprites that are packed within the atlases

Reproducible with: 2022.1.0a11, 2022.3.33f1, 6000.0.7f1
Not reproducible with: 2021.3.39f1
Couldn't test with: 2022.1.0a10 (Could not resolve compilation errors)

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note: Could not find regression point due to errors

  1. Resolution Note:

    The project is using Sprite Atlas V2 and has Sprite Atlas Packing Mode set to disabled. This means that all atlases in the project are inactive and no sprites are being packed. To make atlases active in Edit Mode, set the Sprite Atlas Packing Mode in (Edit > Project Settings > Editor > Sprite Atlas > Mode) to Sprite Atlas V2 - Enabled. After doing so, AssetReferenceAtlasedSprite members can be set in the Inspector window. https://docs.unity3d.com/Manual/SpritePackerModes.html

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.