Search Unity

iOS Library PackageCache Error with ProBuilder

Discussion in 'Unity Build Automation' started by creimschussel, Jan 14, 2019.

  1. creimschussel

    creimschussel

    Joined:
    Apr 11, 2017
    Posts:
    10
    We have really been enjoying Could Build but have recently run into some issues with the new version of Unity and ProBuilder.

    Our project was recently upgraded to 2018.3.0f2 and installed the newest version of ProBuilder 3.0.9. We are using Bitbucket with Sourcetree and our Library folder is not in our repository because of its large size. The Bitbucket project has been directly setup to build from our master in Cloud Build. Doing a Cloud Build for iOS with the new version of Unity and ProBuilder seems to make the build fail and get this error:

    "[Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs"

    Removing ProBuilder from our project and then running the build on Cloud Build for iOS again results in a successful build. As far as I have read we shouldn't need the Library folder in our repo when doing a Cloud Build. Since it was referencing "FbxExporters" we installed the FBX Exporter package but that did not resolve the error.

    Unity Version: 2018.3.0f2
    XCode Version: Selected "Latest Compatible Version" in Cloud Build
    Source Control: Bitbucket with SourceTree
    Wwise Version: 2018.1.3.6784

    None of us have Mac's so we are unable to test this locally for an iOS build.

    Build Log:
    • This block of errors comes up 3 different times in the log
    26: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.ProBuilder.AddOns.Editor.dll
    27: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(8,13): error CS0234: The type or namespace name 'FbxSdk' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
    28: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(9,7): error CS0246: The type or namespace name 'FbxExporters' could not be found (are you missing a using directive or an assembly reference?)
    29: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(10,7): error CS0246: The type or namespace name 'FbxExporters' could not be found (are you missing a using directive or an assembly reference?)
    30: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(60,35): error CS0246: The type or namespace name 'FbxPrefab' could not be found (are you missing a using directive or an assembly reference?)
    31: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(71,43): error CS0246: The type or namespace name 'ModelExporter' could not be found (are you missing a using directive or an assembly reference?)
    32: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(71,88): error CS0246: The type or namespace name 'FbxNode' could not be found (are you missing a using directive or an assembly reference?)
    33: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(8,13): error CS0234: The type or namespace name 'FbxSdk' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
    34: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(9,7): error CS0246: The type or namespace name 'FbxExporters' could not be found (are you missing a using directive or an assembly reference?)
    35: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(10,7): error CS0246: The type or namespace name 'FbxExporters' could not be found (are you missing a using directive or an assembly reference?)
    36: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(60,35): error CS0246: The type or namespace name 'FbxPrefab' could not be found (are you missing a using directive or an assembly reference?)
    37: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(71,43): error CS0246: The type or namespace name 'ModelExporter' could not be found (are you missing a using directive or an assembly reference?)
    38: [Unity] Library/PackageCache/com.unity.probuilder@3.0.9/ProBuilder/Editor/Addons/pb_Fbx.cs(71,88): error CS0246: The type or namespace name 'FbxNode' could not be found (are you missing a using directive or an assembly reference?)
     
  2. dragonsinspace76

    dragonsinspace76

    Joined:
    Jun 8, 2020
    Posts:
    1
    I have the same problem
    mine said this
    Assembly with name 'Unity.ProBuilder.AddOns.Editor' already exists (Assets/_LocalPackages/botd.com.unity.probuilder/ProBuilder/Editor/Addons/Unity.ProBuilder.AddOns.Editor.asmdef)