Search Unity

Unable to export in Gitlab pipeline

Discussion in 'AR/VR (XR) Discussion' started by crossingmoon_unity, Dec 1, 2020.

  1. crossingmoon_unity

    crossingmoon_unity

    Joined:
    Oct 27, 2020
    Posts:
    1
    Hello,

    I'm able to export my project locally (Windows PowerShell) without any problems, but when I try to do the same in a gitlab pipeline the build always fails.

    I think the problems are this errors that only show up on the pipeline log and that I have tried to fix by updating the packages as stated here ("https://issuetracker.unity3d.com/is...to-enable-an-already-enabled-built-in-package"):

    "
    Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.6/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(199,13): error CS1069: The type name 'PoseData' could not be found in the namespace 'UnityEngine.XR.Tango'. This type has been forwarded to assembly 'UnityEngine.ARModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Consider adding a reference to that assembly.
    Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.6/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(200,17): error CS0103: The name 'TangoInputTracking' does not exist in the current context
    Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.6/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(200,91): error CS0103: The name 'PoseStatus' does not exist in the current context"

    I'm using the docker image unityci/editor for unity 2019.3.6f1.
    Attached you can find the pipeline log and the file I use for the export.
     

    Attached Files:

  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
    Hmm...let me kick this over to the team for a bit of guidance.
     
  3. Pavel_IG

    Pavel_IG

    Joined:
    Mar 24, 2017
    Posts:
    8
    Is there any news on this issue? Also faced this problem on CI.
    I cannot delete this library because the project uses AR Foundation (ARKit + ARCore)
     
  4. mohamedmansouri

    mohamedmansouri

    Joined:
    Feb 13, 2019
    Posts:
    1
    Any update on this issue please?