![]() Hey here's a couple of notes, these are basically feature requests, let me know what you think.ġ - Progress Callback & Value : It would be beneficial to have a loading progress value and a callback on progress updates, so we can provide users with a loading bar during import progress.Ģ - Cancel Import : In scenarios where the device gives us a Low Memory warning (which means a crash is about to happen), it would be very useful to have a command to Cancel the loading operation and free up the resources from the in-progress import (so we don't end up with a memory leak)ģ - Expected Import Size : Being able to query GLTFUtility to see the expected performance requirements for a model would prevent scenarios where imports are attempted on models + textures that bring the devices in use memory into Low Memory territory, prevent crashes during model import. I wanted to try out your asset to see if it works better than UniGLTF ![]() The only problem is that, as I pointed out above, I see errors with some of the files I have tried. Regarding UniGLTF-1.28, when it works, it works quite well, and I'm pleased with how quickly it can create a GameObject. As others have mentioned, it's a mess! I spent a whole day messing with it. I'm not sure if UnityGLTF has this (the Khronos asset), but getting it working is a nightmare. So "Sketchfab for Unity" seems to lack a simple method that lets you load a GLTF and return a Unity Game Object. But it's also really slow because if the GLTF has 100 pieces within it (meshes or whatever) then Unity takes its sweet time doing the import for all of these. I'm pretty certain a prefab can only be created in the Editor, and not in a standalone application. I need runtime GLTF loading, and I can't use "Sketchfab for Unity" because it seems coded so that when you load a GLTF file, it imports the file and creates a prefab. I was curious to see if they worked with your asset. Both fail with errors when I use UniGLTF-1.28. Hey could you try testing with the 2 attached GLTF files? Both of these are from Sketchfab (both are creative commons license, but I don't have the authors handy to give proper credit)īoth of these I can open using the "Sketchfab for Unity" asset and they work fine. Unless I'm mistaken, I do have the latest version. Hmm, did you make a change? I just downloaded this a couple days ago, and GitHub says that last commit was 12 days ago.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |