-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
LoadImageAsync fails to generate mipmaps #1
Comments
I haven't tested with Unity 2021 yet. Probably, some changes with the Jobs System or Burst break filter mipmap job. I will take a look at this later. |
Confirming that I'm getting this same behaviour on Unity 2020.3.1f1 Plus. Full stack trace:
|
@Looooong was this fixed yet, because I'm still getting the same issue |
Sorry, I haven't fixed this yet. PR is welcomed. |
@akioCL @nickyonge @ookii-tsuki I published a fix in version 0.1.2. I tested and it works in Unity 2021.2. If you are using Unity 2020 or 2021.1, can you check and see if it works for you as well? |
This is fixed, further improved and unit tested. |
When trying to load an image using AsyncImageLoader.LoadImageAsync with default LoaderSettings, I get the following error:
"InvalidOperationException: The writeable UNKNOWN_OBJECT_TYPE FilterMipmapJob.outputMipmap is the same UNKNOWN_OBJECT_TYPE as FilterMipmapJob.inputMipmap, two containers may not be the same (aliasing)."
It seems to be related to the jobs that are creating the mipmaps.
I can workaround the issue by disabling mipmap generation.
Unity Version: 2021.2.0b4.3123 Personal
The text was updated successfully, but these errors were encountered: