Search Issue Tracker
Active
Under Consideration for 2.6.X
Votes
0
Found in [Package]
2.6.0
Issue ID
ADDR-3985
Regression
Yes
Addressables.LoadSceneAsync() throws errors when loading scenes from Player Settings
Reproduction steps:
1. Open the attached “bugreport” project
2. Open “Assets/test” Scene
3. Enter Play Mode
4. In the Game View, press “Load Scene From Addressables” button
Expected result: The Scene changes and the background in the Game View turns to brown
Actual result: “UnityEngine.AddressableAssets.InvalidKeyException…” and “OperationException : ChainOperation failed because dependent operation failed…” errors are logged in the Console
Reproducible with: 2.0.3 (2023.3.0a15), 2.6.0 (6000.0.51f1, 6000.1.7f1, 6000.2.0b5)
Not reproducible with: 1.25.0 (2022.3.63f1, 2023.3.0a15)
Reproducible on: macOS Sequoia 15.5 (M1 Max)
Not reproducible on: No other environments tested
Notes:
- Full errors:
”UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=test2
UnityEngine.AddressableAssets.Addressables:LoadSceneAsync (object,UnityEngine.SceneManagement.LoadSceneMode,bool,int,UnityEngine.ResourceManagement.ResourceProviders.SceneReleaseMode)
LoadBuiltInSceneFromAddressables:OnGUI () “
”OperationException : ChainOperation failed because dependent operation failed
UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Location found for Key=test2
UnityEngine.ResourceManagement.ChainOperationTypelessDepedency1<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>:OnWrappedCompleted (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle1<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>)
DelegateList1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle1<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.ResourceManagement.ResourceProviders.SceneInstance>)“
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment