AR Foundation - gLTF Supported?

Greetings,

I am new to Unity, and wanted to understand :

  • Is it is possible to use gLTF, with animations with AR Foundation on iOS(ARKit) and Android(ARCore).

  • Is the support out of the box OR via some third party/open source plugins?

  • Is it a fairly straight forward to implement or there are work-arounds and open issues on this support.

I am unable to search for a clear answer, even tough there are a few plugins, it appears that there are not a lot of resources that answer this question clearly.

thanks in advance.
-gary

Hi gary,

Apart from loading glTFs correctly, for AR it is especially important that loading glTFs does not block the main thread or drop frames.

I’m working on a glTF package called glTFast that focuses on performance. Unfortunately it does not support animation yet. Feel free to subscribe to the relateted github issue to get notified, once this is solved.

In the meantime I recommend trying out other solutions. Disclaimer: This list may be imcomplete and I haven’t tested all of them myself. Swapping glTF loaders later shouldn’t be a big deal.

The official Khronos solution (unfortunately not actively maintained at the moment):
https://github.com/KhronosGroup/UnityGLTF
I’ve heard some of the forks are actually in better shape. @ can probably tell you more about that.

There’s a commercial solution named Piglet in the Asset Store. The author, @awesomesaucelabs gives proper support in this forum thread.

Another choice is GLTFUtility

hth