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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (fix version 1.16.0):
Issue is fixed. The attribute now works in all nested classes, whatever the level.