-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will not nload gltf on iOS but same code works on Android #133
Comments
Try loading it sync, see if that error is more helpful |
The problem was with the draco compression. sometimes when you use draco compression, the loader does not work on iOS. |
I am receiving same error with draco compressed models on IOS. Any potential fix for this or should we just stay away from draco compression for now? |
There is an issue on iOS when loading glb with draco compression. Same code, same glb works fine in Android and the Unity Editor but the loading the glb with draco compression fail on iOS.... |
@Siccity and @paul-bonnel-fr Yes I am facing the same issue Draco compressed glbs is not working on uwp and ios. |
Unfortunately I do not have a Mac to test with. I can only wait for a pull request |
Hey, @Siccity could you plz tell me which Draco repository u have used? |
I've tried importing the iOS draco plugin for Unity from this repo https://github.com/google/draco/tree/master/unity/Plugin without success any ideas ? |
@Siccity @paul-bonnel-fr i have tested the fix for ios and testing it on UWP . Plz review the PR #166 guys |
I see #166 is already merged, so this issue should be fixed? @Siccity BTW: seems that DracoUnity repo has moved to Github for quite some time: https://github.com/atteneder/DracoUnity |
I am unable to load a Draco compressed .glb file on HoloLens 2 (UWP ARM64). I tried loading it syncronously from file and asynchronously from byte array but I the logs show the same error:
The logs also show that the
The same model does load without problems in the Unity editor running on Windows. One of the models I used for testing was: https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/Duck/glTF-Binary/Duck.glb compressed using Any suggetions for further troubleshooting? Update: when I try to load a draco mesh using
|
@FreshlyBrewedCode I have the exact same issue ("Mesh 0 import error), trying to import a draco compressed gltf file from the StreamingAssets folder on Hololens 2. Did you find a solution to your problem? I can load non-compressed files without any problems and copied the WSA/ARM64 dracodec_unity.dll into the Plugins folder, but can't get past the import error message. |
@tafkag I never found a fix unfortunately. |
still no fix for this? draco compression problem on ios? |
I am downloading a model and then loading it as:
And on XCode I get this:
Not sure what is going wrong here ? Any help ?
The text was updated successfully, but these errors were encountered: