sketchfab / UnityGLTF

Runtime GLTF Loader for Unity3D
MIT License
183 stars 21 forks source link

Runtime API #7

Open pjc0247 opened 5 years ago

pjc0247 commented 5 years ago

There's no runtime API provided? Is it prohibited by policy or just dependencies issue?

AurL commented 5 years ago

It's just a dependency issue. The code relies on UnityEditor functions, and needs some work to be made available for runtime.

It's something that has been requested several time and we are aware that it would be a nice addition. Even if it's not in the short roadmap, it's definitely something that could be done in the near future.

maximeLong commented 5 years ago

I think Sketchfab should really reevaluate moving this up the todo list. To be frank, what is the point of this library existing without runtime features? Unity already has a great drag and drop deserealizer in it's editor that works with everything but the most exotic formats. Correct me if I'm wrong but the UnityGLTF library this forks still doesn't deserialize animations, so even if you used an asset from Sketchfab you would want Unity to handle deserialization from its native format because it will just do it better. If a runtime tool was included however, it would suddenly be a great tool for AR/VR , previz, broadcast, and other industry devs to include in their project. Being able to have the end user open up a sketchfab drawer and drop in models would be a huge win for those industries.

aiursrage2k commented 5 years ago

any update on this. Unbelievable

DerrickBarra commented 5 years ago

I second this, it's hard to think of a good reason for this to exist without runtime (and since there's no animation support, that's another huge knock)