Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Unity URP Sample project fails in Cloud Build

Discussion in 'Unity Build Automation' started by jmguillemette, Aug 6, 2020.

  1. jmguillemette

    jmguillemette

    Joined:
    Mar 4, 2015
    Posts:
    53
    So im currently working through another cloud build issue. As an experiment I decided to start a fresh URP project, check the sample code and scene into GIT and then setup cloud build to make sure cloud build worked with just the default scene.

    it failed

    the sample scene does not compile on the cloud build ...

    Code (CSharp):
    1.  No Library cache found - ALL assets will be re-imported.
    2. 2: [Unity] Initialize engine version: 2019.4.7f1 (e992b1a16e65)
    3. 3: [Unity] NullReferenceException: Object reference not set to an instance of an object
    4. 4: [Unity] Rethrow as IllegalNamespaceParsing: Searching for classname: 'AssemblyNameProvider' caused error in CSharpNameParser
    5. 5: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.RenderPipelines.Core.Runtime.dll
    6. 6: [Unity] Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Runtime/Utilities/CoreUtils.cs(1016,44): error CS1061: 'SceneView.SceneViewState' does not contain a definition for 'imageEffectsEnabled' and no accessible extension method 'imageEffectsEnabled' accepting a first argument of type 'SceneView.SceneViewState' could be found (are you missing a using directive or an assembly reference?)
    7. 7: [Unity] Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Runtime/Utilities/CoreUtils.cs(1048,66): error CS1061: 'SceneView.SceneViewState' does not contain a definition for 'materialUpdateEnabled' and no accessible extension method 'materialUpdateEnabled' accepting a first argument of type 'SceneView.SceneViewState' could be found (are you missing a using directive or an assembly reference?)
    8. 8: [Unity] Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Runtime/Utilities/CoreUtils.cs(1166,66): error CS1061: 'SceneView.SceneViewState' does not contain a definition for 'fogEnabled' and no accessible extension method 'fogEnabled' accepting a first argument of type 'SceneView.SceneViewState' could be found (are you missing a using directive or an assembly reference?)
    9. 9: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.TextMeshPro.dll
    10. 10: [Unity] Library/PackageCache/com.unity.textmeshpro@3.0.1/Scripts/Runtime/TMP_DefaultControls.cs(191,22): error CS1061: 'RectMask2D' does not contain a definition for 'padding' and no accessible extension method 'padding' accepting a first argument of type 'RectMask2D' could be found (are you missing a using directive or an assembly reference?)
    11. 11: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.CollabProxy.Editor.dll
    12. 12: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/UserInterface/Bootstrap.cs(23,20): error CS0117: 'Collab' does not contain a definition for 'ShowChangesWindow'
    13. 13: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(108,22): error CS1061: 'Collab' does not contain a definition for 'ChangeItemsChanged' and no accessible extension method 'ChangeItemsChanged' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    14. 14: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(109,22): error CS1061: 'Collab' does not contain a definition for 'SelectedChangeItemsChanged' and no accessible extension method 'SelectedChangeItemsChanged' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    15. 15: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(110,22): error CS1061: 'Collab' does not contain a definition for 'RevisionUpdated_V2' and no accessible extension method 'RevisionUpdated_V2' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    16. 16: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(112,22): error CS1061: 'Collab' does not contain a definition for 'CollabInfoChanged' and no accessible extension method 'CollabInfoChanged' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    17. 17: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(114,22): error CS1061: 'Collab' does not contain a definition for 'ErrorOccurred_V2' and no accessible extension method 'ErrorOccurred_V2' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    18. 18: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(460,36): error CS1061: 'Collab' does not contain a definition for 'GetChangesToPublish_V2' and no accessible extension method 'GetChangesToPublish_V2' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    19. 19: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(477,22): error CS1061: 'Collab' does not contain a definition for 'PublishAssetsAsync' and no accessible extension method 'PublishAssetsAsync' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)
    20. 20: [Unity] Library/PackageCache/com.unity.collab-proxy@1.3.8/Editor/Models/Providers/Collab.cs(503,32): error CS1061: 'RevisionsService' does not contain a definition for 'FetchSingleRevisionCallback' and no accessible extension method 'FetchSingleRevisionCallback' accepting a first argument of type 'RevisionsService' could be found (are you missing a using directive or an assembly reference?)

    I am really frustrated with my actual project that is currently having IL2CPP cloud build issues..but come on.. the sample project doesn't work in cloud either!?
     
  2. Maynk

    Maynk

    Joined:
    Aug 17, 2020
    Posts:
    3
    I just have, Same Problem on Project
     
  3. Infamous-H

    Infamous-H

    Joined:
    Aug 15, 2019
    Posts:
    2
    Any solutions to this?
     
  4. systemdude92

    systemdude92

    Joined:
    Apr 23, 2019
    Posts:
    1
    To fix the Collab issues, install the Unity Collaboration 1.2.16 package. I'm still working on the SceneViewState issues.
    I fixed the SceneViewState issues by downgrading the URP package to version 7.3.1 instead of the 7.5.1 that is starts with
    Lastly, downgrade Text MeshPro package down to version 2.1.1 to get it to all work. You may have errors show up in console, but they can be cleared.
     
    Last edited: Oct 9, 2020
  5. mobdoggo

    mobdoggo

    Joined:
    Oct 22, 2018
    Posts:
    16
    Thanks. I had 18 errors. Now, only 3.
     

    Attached Files:

    nabeelbaghoor likes this.
  6. ionusprimus

    ionusprimus

    Joined:
    Aug 29, 2017
    Posts:
    1
    I have those same three errors. Did you find a fix ??
     
    nabeelbaghoor likes this.
  7. mobdoggo

    mobdoggo

    Joined:
    Oct 22, 2018
    Posts:
    16
    I got these errors after importing an URP water shader asset. Wile import it asked me to import Post processing too. I created new project and ignored when it asked me to import Post processing. I see no errors now. for my mobile game, I don't need Post Processing. So, I fixed those errors by ignore that
     
    nabeelbaghoor and ionusprimus like this.
  8. nabeelbaghoor

    nabeelbaghoor

    Joined:
    Jul 31, 2018
    Posts:
    2
    Thanks a lot!!
     
  9. MaazAhmadSatti

    MaazAhmadSatti

    Joined:
    Nov 30, 2020
    Posts:
    2
  10. yifuhua

    yifuhua

    Joined:
    Mar 16, 2022
    Posts:
    1
    • You can also upgrade Text MeshPro package to 2.1.6 as prompted. The upgrade works successfully