Search Issue Tracker
Fixed in 1.16.0
Votes
0
Found in [Package]
1.3.3, 1.5.0
Issue ID
1197058
Regression
No
[Addressables] AssetReferenceUILabelRestriction("LabelName") Attribute is disregarded when used in a nested sub class
How to reproduce:
1. Open the attached project ("case_1197058-AssetReferenceUIBug.zip")
2. Open the repro scene ("SampleScene")
3. Select the "Testing" GameObject n the Hierarchy
4. Select the "AssetReferenceWithLabel_4_Nested" variable and check which assets can be selected
Expected results: Only the assets which have "Restricted" label can be selected
Actual results: All assets can be selected, even the ones without the specified label
Reproducible with: 2018.4.15f1, 2019.2.17f1, 2019.3.0f4, 2020.1.0a18
Couldn't test with 2017.4 (No package manager)
Reproducible with package versions: 1.3.3, 1.5.0
Couldn't test with earlier package versions because of the missing "AssetReferenceUILabelRestriction" attribute
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (fix version 1.16.0):
Issue is fixed. The attribute now works in all nested classes, whatever the level.