You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import the data from a URL and load the model into Unity. It works great on a PC however whenever I try to run it on my Android phone it stops at the Importer.LoadFromBytes() method and after some time the phone turns off.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Check if you inserted all GLTF shaders into all included shaders in Project Settings/Graphics.
(This was my problem, model was loaded in editor, but not on Android), using this code plus included all shaders, I can load model on Android runtime:
byte[] glbData = File.ReadAllBytes(modelPath);
Importer.ImportGLBAsync(glbData, new ImportSettings(), OnModelImported);
otherwise try to load a small 3D model (it could be memory consuming problem)
I'm trying to import the data from a URL and load the model into Unity. It works great on a PC however whenever I try to run it on my Android phone it stops at the Importer.LoadFromBytes() method and after some time the phone turns off.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: