I want to use await and LoadAssetAsync or InstantiateAsync but fail,Did I write the wrong code? if so ,please show the correct code thank you!
Had a same issue today. AA 1.1.4 SBP 1.4.1
I get this too, but can work around it by awaiting the .Task property instead of the AsyncOperationHandle directly.
1 Like
thank you, I have made it !
but i have another question:
if i do Addressables.LoadAssetAsync(“Cube”) to get asset at Start(), then I want to Instantiate the Cube per 2s, so i do Addressables.LoadAssetAsync(“Cube”) per 2s, I want to know :
- In the underlying code, whether the Cube Asset need to be reloaded before instantiation per time?
You can just call Instantiate. You are welcome to load in advance, but you don’t need to, and there’s definitely no reason to load more than once. Keep in mind if you do Load then Instantiate 3 times, you have to release the 3 instances, and release the load. Based on your description, you probably just want to instantiate from the get-go.

