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!