Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
2.3.7
Issue ID
ADDR-3856
Regression
No
[Addressables] InvalidKeyException is thrown when calling Addressables.LoadAssetsAsync with single string key
Reproduction steps:
1. Open the attached “IN-89538_repro” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
Expected results: Assets with the given string key are loaded
Actual results: InvalidKeyException is thrown
Reproduced with: 1.22.3 (2022.3.57f1), 2.3.7 (2022.3.57f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1)
Reproduced on: Windows 11 Pro
Not reproduced on: no other environment tested
Full thrown error: UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for Key=materials. Key exists as Type=UnityEngine.Material, which is not assignable from the requested Type=UnityEngine.Material
- 
            Resolution Note: null 
 Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ADDR-3858
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
This is a duplicate of issue #-3858