question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Will not nload gltf on iOS but same code works on Android

See original GitHub issue

I am downloading a model and then loading it as:

string modelPath = Path.Combine(Application.persistentDataPath, model_file_name);
Debug.Log("Loading, model from disk...");
Debug.Log(Application.persistentDataPath);
Importer.ImportGLTFAsync(modelPath, new ImportSettings(), OnFinishAsync, OnProgress);

And on XCode I get this:

Mesh 12 import error
Siccity.GLTFUtility.<OnCoroutine>d__5:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Siccity.GLTFUtility.<TaskSupervisor>d__17:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Not sure what is going wrong here ? Any help ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
FreshlyBrewedCodecommented, Jul 6, 2023

@tafkag I never found a fix unfortunately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GLTFLoader, Cant load model i download from the web
Hey everyone, Im still new to threejs and have been having some trouble loading in a model i download from Sketchfab ,but it...
Read more >
glTF model is not loading in iOS & Android - Questions
Hi All,. I am trying to load a gltf model in mobiles using gltf loader but it is not loading up. Model is...
Read more >
[SOLVED] glTF model won't load at mobile - Help & Support
I have a model that need to be loaded from a server. At computers and notebooks it works perfectly, but at mobile devices...
Read more >
Beware of GLTF
I'm using Siccity's GLTF plugin to load gitf file from web, it works well in Unity Editor, but when I build an iOS...
Read more >
How to import glTF files? - Pipeline & Plugins
But when ever I try to import any free downloadable model from Sketchfab, the import fails. Are there any other import options or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found