-
Notifications
You must be signed in to change notification settings - Fork 496
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
Does not work at all with Android or IOS #451
Comments
When you say that nothing works, can you be more specific? UnityGLTF should work for iOS and Android. If it's broken in some way, then we should get it fixed. |
The problem is that File.ReadAllBytes() is not working for Assets on my side from my side. |
I also see only the skybox and floor when building on Android. adb logcat output shows:
The line in question in WebServerComponent.cs is I have no problems running/importing models in the Unity editor. Do we need to take additional steps to properly run scenes on mobile? Edit: I just tried building for Mac instead and observed the same issue, so it does not appear to be a problem with mobile. |
Hi, After a few tries on Unity Android, I managed to compile an Apk and got the plugin to work.
|
Excellent! Thanks for reply. |
Hey @antoninklopp, Thanks for figuring it out and sharing. Could you please update the readme.md with instructions for Android? |
Hi @antoninklopp, Can you explain in more detail how to load glb files for android? For example, do you copy manually glb files on android using adb or these files are stored at StreamingAsset folder? Thanks. |
So, is it means I can not load GLTF from web at runtime on IOS or Android? |
tested on both Android and Ios with unity 2019.1.4f1. Tried the web based and non web based (UWP) examples, nothing works on either devices. Assuming mobile devices is not supported currently?
The text was updated successfully, but these errors were encountered: