If you are using Gradle, the follow error could occur in your project console if you are using an old aaptOptions noCompress property:
UnityException: Error mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
To resolve this error, update the aaptOptions section of your mainTemplate.gradle file to the structure in the following example:
aaptOptions {
noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
}**PACKAGING_OPTIONS**
For more information, see the Unity Mediation documentation.