Search Unity

Facebook Unity SDK version 7.8.0 doesn't compile on cloud build

Discussion in 'Unity Build Automation' started by Chance-Lonestar, Aug 24, 2016.

  1. Chance-Lonestar

    Chance-Lonestar

    Joined:
    Dec 16, 2012
    Posts:
    5
    Facebook Unity SDK version 7.8.0 doesn't compile on cloud build (android and ios) but compiles fine locally to each environment.

    from my cloud build log: ( I get the same errors on ios build)

    377: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
    378: [Unity] Compilation failed: 13 error(s), 0 warnings
    379: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(29,24): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    380: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(43,37): error CS0246: The type or namespace name `IResult' could not be found. Are you missing a using directive or an assembly reference?
    381: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(167,42): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    382: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs(122,17): error CS0246: The type or namespace name `OGActionType' could not be found. Are you missing a using directive or an assembly reference?
    383: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(89,36): error CS0246: The type or namespace name `IGroupCreateResult' could not be found. Are you missing a using directive or an assembly reference?
    384: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(98,37): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    385: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs(64,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    386: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(51,47): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    387: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(139,44): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    388: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(181,53): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    389: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(227,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    390: [Unity] Assets/Scripts/FBScripts/FBRequest.cs(79,44): error CS0246: The type or namespace name `IAppRequestResult' could not be found. Are you missing a using directive or an assembly reference?
    391: [Unity] Assets/Scripts/FBScripts/FBShare.cs(120,40): error CS0246: The type or namespace name `IShareResult' could not be found. Are you missing a using directive or an assembly reference?
    392: [Unity] - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
    393: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(29,24): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    394: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 29)
    395: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(43,37): error CS0246: The type or namespace name `IResult' could not be found. Are you missing a using directive or an assembly reference?
    396: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 43)
    397: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(167,42): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    398: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 167)
    399: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs(122,17): error CS0246: The type or namespace name `OGActionType' could not be found. Are you missing a using directive or an assembly reference?
    400: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs Line: 122)
    401: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(89,36): error CS0246: The type or namespace name `IGroupCreateResult' could not be found. Are you missing a using directive or an assembly reference?
    402: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs Line: 89)
    403: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(98,37): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    404: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs Line: 98)
    405: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs(64,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    406: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs Line: 64)
    407: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(51,47): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    408: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 51)
    409: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(139,44): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    410: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 139)
    411: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(181,53): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    412: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 181)
    413: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(227,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    414: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 227)
    415: [Unity] Assets/Scripts/FBScripts/FBRequest.cs(79,44): error CS0246: The type or namespace name `IAppRequestResult' could not be found. Are you missing a using directive or an assembly reference?
    416: [Unity] (Filename: Assets/Scripts/FBScripts/FBRequest.cs Line: 79)
    417: [Unity] Assets/Scripts/FBScripts/FBShare.cs(120,40): error CS0246: The type or namespace name `IShareResult' could not be found. Are you missing a using directive or an assembly reference?
    418: [Unity] (Filename: Assets/Scripts/FBScripts/FBShare.cs Line: 120)
    419: [Unity] Validating Project structure ... 0.011691 seconds.
    420: [Unity] Refresh: detecting if any assets need to be imported or removed ... Removing Assets/FacebookSDK/Plugins/Android/Facebook.Unity.Android.dll because the asset does not exist
    421: [Unity] Removing Assets/FacebookSDK/Plugins/Arcade/Facebook.Unity.Arcade.dll because the asset does not exist
    422: [Unity] Removing Assets/FacebookSDK/Plugins/Arcade/FacebookNamedPipeClient.dll because the asset does not exist
    423: [Unity] Removing Assets/FacebookSDK/Plugins/Editor/Facebook.Unity.Editor.dll because the asset does not exist
    424: [Unity] Removing Assets/FacebookSDK/Plugins/Facebook.Unity.dll because the asset does not exist
    425: [Unity] Removing Assets/FacebookSDK/Plugins/iOS/Facebook.Unity.IOS.dll because the asset does not exist



    is my cloud build messed up somehow? do I need to make a new project since this isn't happening on my pc or mac.... ? Thanks guys!
     
  2. Chance-Lonestar

    Chance-Lonestar

    Joined:
    Dec 16, 2012
    Posts:
    5
    opps that top log was the ios log, here is the android log which is similar:

    437: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
    438: [Unity] Compilation failed: 13 error(s), 0 warnings
    439: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(29,24): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    440: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(43,37): error CS0246: The type or namespace name `IResult' could not be found. Are you missing a using directive or an assembly reference?
    441: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(167,42): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    442: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs(122,17): error CS0246: The type or namespace name `OGActionType' could not be found. Are you missing a using directive or an assembly reference?
    443: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(89,36): error CS0246: The type or namespace name `IGroupCreateResult' could not be found. Are you missing a using directive or an assembly reference?
    444: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(98,37): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    445: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs(64,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    446: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(51,47): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    447: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(139,44): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    448: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(181,53): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    449: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(227,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    450: [Unity] Assets/Scripts/FBScripts/FBRequest.cs(79,44): error CS0246: The type or namespace name `IAppRequestResult' could not be found. Are you missing a using directive or an assembly reference?
    451: [Unity] Assets/Scripts/FBScripts/FBShare.cs(120,40): error CS0246: The type or namespace name `IShareResult' could not be found. Are you missing a using directive or an assembly reference?
    452: [Unity] - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
    453: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(29,24): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    454: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 29)
    455: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(43,37): error CS0246: The type or namespace name `IResult' could not be found. Are you missing a using directive or an assembly reference?
    456: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 43)
    457: [Unity] Assets/FacebookSDK/Examples/Scripts/MenuBase.cs(167,42): error CS0246: The type or namespace name `ShareDialogMode' could not be found. Are you missing a using directive or an assembly reference?
    458: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/MenuBase.cs Line: 167)
    459: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs(122,17): error CS0246: The type or namespace name `OGActionType' could not be found. Are you missing a using directive or an assembly reference?
    460: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs Line: 122)
    461: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(89,36): error CS0246: The type or namespace name `IGroupCreateResult' could not be found. Are you missing a using directive or an assembly reference?
    462: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs Line: 89)
    463: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs(98,37): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    464: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GameGroups.cs Line: 98)
    465: [Unity] Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs(64,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    466: [Unity] (Filename: Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs Line: 64)
    467: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(51,47): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    468: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 51)
    469: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(139,44): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    470: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 139)
    471: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(181,53): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    472: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 181)
    473: [Unity] Assets/Scripts/FBScripts/FBGraph.cs(227,43): error CS0246: The type or namespace name `IGraphResult' could not be found. Are you missing a using directive or an assembly reference?
    474: [Unity] (Filename: Assets/Scripts/FBScripts/FBGraph.cs Line: 227)
    475: [Unity] Assets/Scripts/FBScripts/FBRequest.cs(79,44): error CS0246: The type or namespace name `IAppRequestResult' could not be found. Are you missing a using directive or an assembly reference?
    476: [Unity] (Filename: Assets/Scripts/FBScripts/FBRequest.cs Line: 79)
    477: [Unity] Assets/Scripts/FBScripts/FBShare.cs(120,40): error CS0246: The type or namespace name `IShareResult' could not be found. Are you missing a using directive or an assembly reference?
    478: [Unity] (Filename: Assets/Scripts/FBScripts/FBShare.cs Line: 120)
     
  3. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Can you double check that the .dll's shipped with the plugin were committed to source control (some source control clients ignore dll's by default)?