From 9fe214de3a460fdc658f37941eb1f2b77c95891b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 10 Jun 2020 15:39:40 -0400 Subject: [PATCH] v0.8.1: fixed shader errors caused by R8 on gradle plugin 4.0 --- android/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro index eaaaeb646..0ff03e0ff 100644 --- a/android/proguard-rules.pro +++ b/android/proguard-rules.pro @@ -2,6 +2,10 @@ -keepnames class com.shatteredpixel.** { *; } -keepnames class com.watabou.** { *; } +# For some reason optimizing shader classes causes visual errors on AGP 4.0 +# TODO check this every so often, might be a bug that gets resolved +-keep class com.watabou.noosa.NoosaScript* { *; } + # retained to support meaningful stack traces # note that the mapping file must be referenced in order to make sense of line numbers # mapping file can be found in core/build/outputs/mapping after running a release build