Unity/AddressableAssetsData

Addressables.InstantiateAsync 에러

소나무꼴 2021. 6. 23. 00:30

 

Exception encountered in operation Resource<GameObject>([Char]Test.prefab), status=Failed, result= : Unable to load asset of type UnityEngine.GameObject from location Assets/~Resources/Effect/Sword/[Char]Test.prefab.
UnityEngine.ResourceManagement.Util.DelayedActionManager:LateUpdate () (at Library/PackageCache/com.unity.addressables@1.16.19/Runtime/ResourceManager/Util/DelayedActionManager.cs:159)

 

Exception encountered in operation Instance<InstanceProvider>(Resource<GameObject>([Char]1Test.prefab), status=Failed, result= : Dependency operation failed with System.Exception: Unable to load asset of type UnityEngine.GameObject from location Assets/~Resources/Effect/Sword/[Char]Test.prefab..
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1/<>c__DisplayClass55_0<UnityEngine.GameObject>:<add_CompletedTypeless>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.GameObject>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.GameObject>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.GameObject>) (at Library/PackageCache/com.unity.addressables@1.16.19/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ResourceManager:Update (single)
MonoBehaviourCallbackHooks:Update () (at Library/PackageCache/com.unity.addressables@1.16.19/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:26)

 

Addressables.InstantiateAsync 을 사용했는데 알수 없는 에러가 발생해서 이리저리 해보다보니 나온 결론은

 

Addressables 로 읽을 파일명에 일부 특수기호를 넣으면 먹통이다.

[Char]Test 을 CharTest 라고 수정하니 로딩이 된다.

사용이 안되는 특수기호가 있는듯.