Search Unity

Help Wanted Unwanted UDP plugin not compiling

Discussion in 'Unity Distribution Portal (UDP)' started by UDN_46c91c6c-aeb1-471f-87fb-917fc1db02c9, Aug 27, 2021.

  1. UDN_46c91c6c-aeb1-471f-87fb-917fc1db02c9


    Dec 3, 2017
    Hello, I have a project that used to have unity IAP and other services. I upgraded unity to version 2021.1.16f1 and some kind of "Unity distribution portal" service appeared. It seems to be working, but when I downloaded the repository in a different computer, it refuses to compile.
    The error is:
    Code (CSharp):
    1. Assets\Plugins\UDP\Editor\Analytics\Common.cs(5,23): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'UnityEngine.UDP' (are you missing an assembly reference?)
    This error seems to disappear if I enable UDP (Which I don't want at the moment) and IAPs. But in return, I get other three errors:
    Code (CSharp):
    1. Assets\Plugins\UDP\Editor\Analytics\EditorAnalytcisApi.cs(12,54): error CS0117: 'BuildConfig' does not contain a definition for 'CONNECT_ENDPOINT'
    3. Assets\Plugins\UDP\Editor\AppStoreOnboardApi.cs(13,57): error CS0117: 'BuildConfig' does not contain a definition for 'CLIENT_ID'
    6. Assets\Plugins\UDP\Editor\AppStoreOnboardApi.cs(14,61): error CS0117: 'BuildConfig' does not contain a definition for 'CLIENT_SECRET'
    I cheched the BuildConfig file and, effectively, they are different.

    What am I missing here?