Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  4. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    Dismiss Notice

Question 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

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

    Joined:
    Dec 3, 2017
    Posts:
    18
    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'
    2.  
    3. Assets\Plugins\UDP\Editor\AppStoreOnboardApi.cs(13,57): error CS0117: 'BuildConfig' does not contain a definition for 'CLIENT_ID'
    4.  
    5.  
    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?
     
unityunity