question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding URP (Universal Rendering Pipeline) package breaks build

See original GitHub issue

Bug description

Adding Universal RP package to project breaks the build with the errors not related to user. Upon inspection of some of the errors it seems that the builder does not recognize C# 8.0 features. However, local build and run succeeds for the same target paltform.

How to reproduce

  • In Unity Hub press NEW
  • Choose unity version (I chose the latest 2020.2.1f1)
  • Choose Universal Render Pipeline Template
  • Setup the pipeline (GitHub/GitHub Actions)
    • I chose 2020.1.13f1 as this is the latest docker image available
    • I chose build target platform as StandaloneWindows64
  • Let the build run.

Note: Also adding package to an existing project reproduces the same issue.

Expected behavior

Build succeeds

Additional details

Tried the following builder versions:

  • webbertakken/unity-builder@v0.10 (as per official documentation recommendation)
  • game-ci/unity-builder@v1.5 (latest stable)
  • game-ci/unity-builder@v2.0-alpha-6 (latest at the time of creating a bug report)

(Sorry not sure how to make the errors collapsible)

Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/AdditionalLightsShadowCasterPass.cs(81,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,43): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/AdditionalLightsShadowCasterPass.cs(81,84): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1525: Invalid expression term '{'
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(35,18): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/2D/Light2DManager.cs(109,31): error CS1525: Invalid expression term '='
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,57): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,57): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,58): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,58): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,59): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,59): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(39,154): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(40,18): error CS1597: Semicolon after method or accessor block is not valid
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(43,13): error CS1519: Invalid token '{' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(44,30): error CS8124: Tuple must contain at least two elements.
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(45,17): error CS1519: Invalid token '{' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(46,57): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(47,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(49,58): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(50,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(52,59): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(53,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(56,61): error CS1001: Identifier expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(59,9): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(61,5): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(74,1): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/MainLightShadowCasterPass.cs(71,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/MainLightShadowCasterPass.cs(71,84): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(143,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(143,97): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(204,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(499,23): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(499,83): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(204,116): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(546,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(546,109): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(553,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(553,114): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(405,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(405,113): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(563,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(563,104): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(579,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(579,117): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(639,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(639,86): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(648,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(648,100): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(662,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(662,89): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(664,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(664,107): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(709,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(709,88): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(772,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(772,110): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(847,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(847,103): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(892,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(892,100): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(958,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(958,99): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(985,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(985,102): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1004,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1004,97): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1045,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1045,108): error CS1026: ) expected
-----EndCompilerOutput---------------
- Finished compile Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll in 1.43933 seconds
- Finished script compilation in 23.485809 seconds
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/AdditionalLightsShadowCasterPass.cs(81,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,43): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/AdditionalLightsShadowCasterPass.cs(81,84): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1525: Invalid expression term '{'
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(34,49): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(35,18): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/2D/Light2DManager.cs(109,31): error CS1525: Invalid expression term '='
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,57): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(36,57): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,58): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(37,58): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,23): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,23): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,59): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(38,59): error CS1513: } expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(39,154): error CS1002: ; expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(40,18): error CS1597: Semicolon after method or accessor block is not valid
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(43,13): error CS1519: Invalid token '{' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(44,30): error CS8124: Tuple must contain at least two elements.
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(45,17): error CS1519: Invalid token '{' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(46,57): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(47,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(49,58): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(50,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(52,59): error CS1519: Invalid token ':' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(53,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(56,61): error CS1001: Identifier expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(59,9): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(61,5): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Deprecated.cs(74,1): error CS1022: Type or namespace definition, or end-of-file expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/MainLightShadowCasterPass.cs(71,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/Passes/MainLightShadowCasterPass.cs(71,84): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(143,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(143,97): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(204,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(499,23): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(499,83): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(204,116): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(546,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(546,109): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(553,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(553,114): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(405,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(405,113): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(563,27): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(563,104): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(579,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(579,117): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(639,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(639,86): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(648,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(648,100): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(662,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(662,89): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(664,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(664,107): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(709,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/ScriptableRenderer.cs(709,88): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(772,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(772,110): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(847,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(847,103): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(892,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(892,100): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(958,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(958,99): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(985,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(985,102): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1004,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1004,97): error CS1026: ) expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1045,19): error CS1003: Syntax error, '(' expected
Library/PackageCache/com.unity.render-pipelines.universal@10.2.2/Runtime/UniversalRenderPipeline.cs(1045,108): error CS1026: ) expected

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bkslashercommented, Jan 6, 2021

You have to use 2020.2.x image since C# 8 support is added in it. https://unity3d.com/unity/whats-new/2020.2.0

1reaction
webbertakkencommented, Jan 6, 2021

Hi @Roolingen and thank your for reporting this issue and providing proper details.

I’m not quite sure what the issue is exactly as my own project runs on URP without a problem. Not sure if it’s indeed a version difference.

I chose 2020.1.13f1 as this is the latest docker image available actually 2020.1.17f1 and 2020.2.1f1 are the latest versions at the time of writing, but that shouldn’t matter.

I’m surprised it doesn’t work both on the old images and the new ones (as you tried v1.x and v2.x).

Perhaps this is an issue with the latest URP package? Could you please confirm local builds work also when you create a fresh clone of your repository?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing the Universal Render Pipeline into an existing Project
Installing URP · In Unity, open your Project. · In the top navigation bar, select Window > Package Manager to open the Package...
Read more >
Migrating built-in shaders to the Universal Render Pipeline
When you run the shader upgrade, go to Edit > Render Pipeline > Universal Render Pipeline > Upgrade Project Materials to URPipeline Materials....
Read more >
'Universal render pipeline' breaks asset sorting order? Help!
I recently discovered the universal render pipeline (URP) package, which can be used to create some great lighting. I added it to my...
Read more >
Universal Pipeline - Unity Platform - Rendering & Visual Effects
Summary Universal Render Pipeline (URP) Light Layers, similar to Layer Masks, are specific rendering layers to allow masking of certain lights in a...
Read more >
From Built-in to URP - Teo Dutra
Unity's Scriptable Render Pipeline represents a great advance on the way that unity deals with graphics, giving more power to the users to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found