Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Proguard

Discussion in 'Unity Distribution Portal (UDP)' started by VoxelBoy, May 19, 2021.

  1. VoxelBoy


    Nov 7, 2008
    Hey there,

    I'm trying to initialize UDP in my project that's using Proguard but I seem to be unable to prevent Proguard from stripping UDP classes, even with this snippet in my proguard-user.txt file:

    -keep class com.unity.udp.** { *; }

    Still getting this error at runtime:

    Any ideas?
    Is it possible that the proguard-user.txt file in Assets/Plugins/Android does not apply to .aar's in Packages (such as UDP)?