Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Attempting to use an invalid operation handle #3

Closed
zhangsanfenggithub opened this issue Sep 7, 2022 · 4 comments
Closed

Comments

@zhangsanfenggithub
Copy link

2
1

unity version :2021.3.9f1 aa version : 1.19.19
AddressablesManager.InitializeAsync() also have same question
image
if i use completed callback it becomes normal

@laicasaane
Copy link
Owner

@zhangsanfenggithub Thanks for reporting the bug. I've fixed it in 1.3.0.

@zhangsanfenggithub
Copy link
Author

@zhangsanfenggithub Thanks for reporting the bug. I've fixed it in 1.3.0.

I check the addressables source code and find that it will autonatically release the handle
Screenshot 2022-09-08 145742
so i change this method that it works good
Screenshot 2022-09-08 145816
by the way ,thanks for your lib which is very useful to me

@laicasaane
Copy link
Owner

@zhangsanfenggithub I've tested the InitializeAsync with UniTask but no exception is fired. Is it a problem with the Task counter-part?

@laicasaane
Copy link
Owner

I've fixed this issue the right way, also corrected the APIs for Task version in 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants