- Home /
Question by
trent_lithodomosvr · Sep 20, 2018 at 11:29 PM ·
textureresourcesasynccubemaploading file
Resources.LoadAsync seems to load more than the requested files
I have a folder in the Resources Folder that stores about 20 Cubemaps I am using Resources.LoadAsync() to load them at runtime
It is a 360 vr cubemap viewer.
The first 2 Resources.LoadAsync() call takes a very long time between 10 to 20 seconds. I am only calling Resources.LoadAsync() twice and on 2 cubemap files.
I have a next button that then loads the next 2 cubemaps and unloads the old ones.
The interesting thing on the next 2 Resources.LoadAsync() calls they return almost instantly, the textures HAVE already been loaded, so my conclusion is that the first Resources.LoadAsync() is loading more than what is specified. I want to only load a particular resource. so the loads are spread out.
Has anyone else had this issue?
Comment