Search Issue Tracker
Fixed in 1.6.1
Votes
0
Found in [Package]
1.2.2, 1.3.8
Issue ID
1199800
Regression
No
[Addressables] AssetReference.RuntimeKeyIsValid returns false for sub-objects even when GUID matches
How to reproduce:
1. Open the attached project ("case_1186801-AddressableError.zip")
2. Open the repro scene ("SampleScene")
3. Build Player Content
4. Make sure that "AssetReferenceCarrier" object in the Hierarchy has both AssetReference fields set
4. Enter Play Mode
5. Inspect the console
Expected results: RuntimeKeyIsValid returns true because key GUIDs are the same
Actual results: RuntimeKeyIsValid returns false
Reproducible with: 2018.4.13f1, 2019.2.13f1, 2019.3.0b12, 2020.1.0a14
Couldn't test with 2017.4 (no Package Manager)
Reproducible with package versions: 1.2.2, 1.3.8 (couldn't test with older versions because they lacked public GUID variable)
Notes:
1. Loading the sprite with the "invalid" key still succeeds and returns the correct sprite
2. It seems that the GUID parsing fails to parse subobjects name out of the GUID
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
- Game View Tab Scale changes erratically when a Unity Tab is on a different screen with a differing Display Scale
- Six way lighting receiving wrong lighting from APV when set to World Space
- Crash on SortByExecutionOrder when interrupting the .androidpack import process
- ShaderGraph tab header changes the icon to the VFX Graph icon when ShaderGraph and VFX Graph with the same name are both opened
- The Build Profiles window has usability issues when the panel takes up less than 30% of the screen width
Resolution Note (fix version 1.6.1):
This will be resolved in the next build of addressables.