-
Notifications
You must be signed in to change notification settings - Fork 49
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
Android error on reading gltf files when minify is enabled #116
Comments
I am not sure if this is the correct way but as a workaround put
in the If this is actually the best solution, I suggest adding it to the install part of the readme |
Hi, i tried using proguard for a desktop application some times ago and end up with a configuration like this :
TBH, there is no point to obfuscate open source library code (libgdx, gdx-gltf, and others...) only your own game code matters. Please try this configuration and if it works for you i'll add it to the documentation. |
I have the same issue with proguard using, the proposed solution resolves it. |
I strongly disagree, as little as possible should be put into the proguard rules, otherwise you will miss out on the size reduction, reverse engineering protection, code optimization benefits. |
fixed by 8507a98 |
I am having this fatal exception on Android if
minifyEnabled true
is set in build.gradleThis is the top of desert.gltf
w0.k0
iscom.badlogic.gdx.utils.SerializationException
r3.a
isnet.mgsx.gltf.data.GLTF
w0.r.o
iscom.badlogic.gdx.utils.Json.readFields(JsonValue)
If I set
minifyEnabled false
everything works.Tried "2.1.0" and "-SNAPSHOT" versions both give this error
The text was updated successfully, but these errors were encountered: