- Home /
Addressables - Use Asset Database (faster) - Not loading assets within a folder
Hi,
I'm using the addressables package.
I've made some addressable groups, I've marked some folders in the project as addressable these folders contain sub folders and some of the sub folders contain assets.
If I use the Play Mode Script - Use Asset Database (faster) - Sprites within the sub folders don't load
I get this error: Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[UnityEngine.Sprite], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=CharacterAssets/CharacterBobby/Portraits/CharacterBobby_FramedPortrait.png
If I use the Play Mode Script - Simulate Groups (advanced) - Sprites within the sub folders are loading
Do I need to use addressable groups without folders or subfolders and just make the asset themselves addressable to get this working?
Sorry for the terrible formatting but I've spent 15 minutes trying to figure out how to add a new line and its not working
Answer by unity_UKPWAqVhFOIvvg · Jan 27, 2020 at 01:58 PM
Fixed by reverting the version of addressables back to 1.3.8: https://issuetracker.unity3d.com/issues/addressables-invalidkeyexception-is-thrown-when-using-loadassetsasync-on-a-folder-and-using-asset-database-build-mode