Skip to main content
added 436 characters in body
Source Link

I am directly download some object file (3D Models) inside resource folder and the using Resource.Load I am loading those model in unity. This work perfectly but the problem is I have to refresh the resource folder in order to load resource form there! The first step is downloading the asset then instantiate it through resource.load method. But I am falling in the last step as model import is required which is fine in the editor using assetdatbase refresh but this is not available in runtime.

Edit: I am download obj files in resource and then loading it from resource which is much faster then Runtime Obj Importer. Because when I am loading file from persistant path I have to use obj Loader method which is not async is freezing my main thread. Therefore i am preferring resourece.load which is very fast.

I am directly download some object file (3D Models) inside resource folder and the using Resource.Load I am loading those model in unity. This work perfectly but the problem is I have to refresh the resource folder in order to load resource form there! The first step is downloading the asset then instantiate it through resource.load method. But I am falling in the last step as model import is required which is fine in the editor using assetdatbase refresh but this is not available in

I am directly download some object file (3D Models) inside resource folder and the using Resource.Load I am loading those model in unity. This work perfectly but the problem is I have to refresh the resource folder in order to load resource form there! The first step is downloading the asset then instantiate it through resource.load method. But I am falling in the last step as model import is required which is fine in the editor using assetdatbase refresh but this is not available in runtime.

Edit: I am download obj files in resource and then loading it from resource which is much faster then Runtime Obj Importer. Because when I am loading file from persistant path I have to use obj Loader method which is not async is freezing my main thread. Therefore i am preferring resourece.load which is very fast.

Source Link

Refresh resource folder during runtime

I am directly download some object file (3D Models) inside resource folder and the using Resource.Load I am loading those model in unity. This work perfectly but the problem is I have to refresh the resource folder in order to load resource form there! The first step is downloading the asset then instantiate it through resource.load method. But I am falling in the last step as model import is required which is fine in the editor using assetdatbase refresh but this is not available in