Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Improve thumbnail loading performance #15

Open
oreyg opened this issue Jun 6, 2018 · 1 comment
Open

Improve thumbnail loading performance #15

oreyg opened this issue Jun 6, 2018 · 1 comment

Comments

@oreyg
Copy link

oreyg commented Jun 6, 2018

Current implementation uses WebRequestManager to load thumbnail. It returns byte array, which is then passed to Texture2D.Load. This is a blocking function, that does its work on the main thread, and thus creates FPS spikes. This is especially noticeable on mobile devices. Instead 'UnityWebRequestTexture' should be used.

@oreyg oreyg changed the title [Request] Improve thumbnail loading performance . Improve thumbnail loading performance . Jun 6, 2018
@oreyg oreyg changed the title Improve thumbnail loading performance . Improve thumbnail loading performance Jun 6, 2018
@btco
Copy link
Contributor

btco commented Jun 6, 2018

That's a great point. We use WebRequestManager because of caching, but it would be much better to use UnityWebRequestTexture.

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

No branches or pull requests

2 participants