Unity URP Sample project fails in Cloud Build

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 …

 No Library cache found - ALL assets will be re-imported.
2: [Unity] Initialize engine version: 2019.4.7f1 (e992b1a16e65)
3: [Unity] NullReferenceException: Object reference not set to an instance of an object
4: [Unity] Rethrow as IllegalNamespaceParsing: Searching for classname: 'AssemblyNameProvider' caused error in CSharpNameParser
5: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.RenderPipelines.Core.Runtime.dll
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: [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: [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: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.TextMeshPro.dll
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: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.CollabProxy.Editor.dll
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: [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: [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: [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: [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: [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: [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: [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: [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!?

I just have, Same Problem on Project

Any solutions to this?

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.

3 Likes

Thanks. I had 18 errors. Now, only 3.

6408603--715548--Screenshot_45.png

1 Like

I have those same three errors. Did you find a fix ??

1 Like

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

2 Likes

Thanks a lot!!

Thanks

  • You can also upgrade Text MeshPro package to 2.1.6 as prompted. The upgrade works successfully