Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity Cloud Build UnityPurchasing missing

Discussion in '5.5 Beta' started by getwreckedgame, Nov 15, 2016.

  1. getwreckedgame

    getwreckedgame

    Joined:
    May 16, 2016
    Posts:
    5
    When building with Unity Cloud build, we are getting the following stacktrace in b11. Same repo with b09 builds just fine, so this is b11 specific. It does not happen in the editor, just in cloud build.

    1: [Unity] Initialize engine version: 5.5.0b11 (03364468e96e)
    2: [Unity] FileNotFoundException: Could not load file or assembly 'UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
    3: [Unity] 9 [Mono JITed code] UnityEngine.Debug:LogWarning (object) + 0x92 (0x1230d0040 0x1230d00f6) [0x117303990 - Unity Child Domain]
    4: [Unity] 16 Unity 0x0000000000e1563b _ZN18ActiveCompilerTaskC2ERK10MonoIslandPFvbibS2_RKSt4listI16MonoCompileErrorSaIS4_EEEibb + 491
    5: [Unity] 17 Unity 0x0000000000e16442 _Z12CompileFilesPFvbibRK10MonoIslandRKSt4listI16MonoCompileErrorSaIS3_EEEbS1_ib + 1250
    6: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
    7: [Unity] Compilation failed: 29 error(s), 0 warnings
    8: [Unity] Assets/Plugins/UnityPurchasing/script/IAPButton.cs(14,54): error CS0246: The type or namespace name `Product' could not be found. Are you missing an assembly reference?
    9: [Unity] Assets/Plugins/UnityPurchasing/script/IAPButton.cs(17,51): error CS0246: The type or namespace name `Product' could not be found. Are you missing an assembly reference?
    10: [Unity] Assets/Plugins/UnityPurchasing/script/IAPButton.cs(17,60): error CS0246: The type or namespace name `PurchaseFailureReason' could not be found. Are you missing an assembly reference?
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Hi getwreckedgame,
    Could you please file a bug report for this with a minimal reproduction case and reply with the case # in here?