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. Dismiss Notice

Bug Newly created project from 3D(URP) template reports errors

Discussion in 'Universal Render Pipeline' started by toddwong, Oct 28, 2022.

  1. toddwong

    toddwong

    Joined:
    Aug 29, 2017
    Posts:
    10
    Unity Editor version: 2021.3.12f1c1 (on Windows)
    The errors reported:

     
    jordanlukem, Zephus and haruka411 like this.
  2. haruka411

    haruka411

    Joined:
    Apr 8, 2022
    Posts:
    1
    Same error. I update my project form 2021.3.11.
     
  3. waibuc

    waibuc

    Joined:
    Sep 8, 2022
    Posts:
    1
    I also got this error after updating my project from 2021.3.12
     
  4. uyoung_liu

    uyoung_liu

    Joined:
    Feb 11, 2015
    Posts:
    2
    Same error, 2021.3.12
    I try create a new project from the template "3D sample scene(HDRP)", also has the error
     
  5. uyoung_liu

    uyoung_liu

    Joined:
    Feb 11, 2015
    Posts:
    2
    2021.3.12f1c1 has bug
    update to 2021.3.12f1c2 can resolve this issue
     
  6. billclock

    billclock

    Joined:
    Nov 30, 2017
    Posts:
    4
    Thank you very much! This problem has been bothering me for two days.
     
  7. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    421
    Also a lot of errors in 2022.1.21f1
    Any resolution to this?
    Also where can these c1 / c2 versions be found?

    Just noticed that 2022.1.21 is not on the release archive.
    Nevertheless this is what the Hub installs as the newest.
     
    MLDKYT likes this.
  8. billclock

    billclock

    Joined:
    Nov 30, 2017
    Posts:
    4
    c2 is 2021.3.12f1's sub version,you can find it in Unity Hub. I suggest you use the 2021 LTS version
     
  9. Zephus

    Zephus

    Joined:
    May 25, 2015
    Posts:
    356
    Exact same issue here on 2022.1.2.21f1 (which is the latest version). I did a complete clean install of the Hub and Unity. Then I downloaded the 3D (URP) template and created a new project. This leads to the exact same errors people are posting above. The template seems to be completely busted. Downloaded 2022.1.2.20f1 now and it doesn't have the problem. Instead I get the "materials were created with an older version of URP" warning though.

    Can someone tag a developer in here or something like that? This seems extremely urgent. You literally can't create new URP projects with the newest version.
     
    Last edited: Nov 1, 2022
    lord_danzig likes this.
  10. SpencerGR

    SpencerGR

    Joined:
    Oct 2, 2022
    Posts:
    1
    I'm getting similar behavior on creating a new project using the 2D (URP) Core template (2022.1.21f1). Most of the error messages I see are slightly different than OP, so not sure if this should be in a separate thread.

    Most of the errors follow the pattern
    Asset Packages/path/to/file has no meta file, but it's in an immutable folder. The asset will be ignored.
    .

    There are two CS errors:
    • error CS0103: The name 'MaterialAccess' does not exist in the current context
    • error CS0246: The type or namespace name 'BuiltInShaderGraphSaveContext' could not be found (are you missing a using directive or an assembly reference?)
    The remaining errors are
    TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328


    Here is the complete list, as displayed in Safe Mode:
    Code (CSharp):
    1. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\BaseShaderGUI.cs(212,34): error CS0103: The name 'MaterialAccess' does not exist in the current context
    2.  
    3. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGraph\Targets\BuiltInSubTarget.cs(33,28): error CS0246: The type or namespace name 'BuiltInShaderGraphSaveContext' could not be found (are you missing a using directive or an assembly reference?)
    4.  
    5. Asset Packages/com.unity.render-pipelines.universal/Editor/2D/ShaderGraph/AssetCallbacks/CreateSpriteCustomLitShaderGraph.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    6.  
    7. Asset Packages/com.unity.render-pipelines.universal/Editor/Converter/PPv2/EffectConverters/PostProcessEffectSettingsConverter.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    8.  
    9. Asset Packages/com.unity.render-pipelines.universal/Editor/GlobalSettings/SerializedUniversalRenderPipelineGlobalSettings.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    10.  
    11. Asset Packages/com.unity.render-pipelines.universal/Editor/ShaderGUI/MaterialAssemblyReference/MaterialAssemblyReference.asmref has no meta file, but it's in an immutable folder. The asset will be ignored.
    12.  
    13. Asset Packages/com.unity.render-pipelines.universal/Editor/UniversalRenderPipelineAsset/UniversalRenderPipelineAssetUI.Skin.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    14.  
    15. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleHexahedron/PassForward2D.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    16.  
    17. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleLinesSW/PassForward2D.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    18.  
    19. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassDepthNormal.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    20.  
    21. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassDepthOrMV.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    22.  
    23. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassForward.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    24.  
    25. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassGBuffer.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    26.  
    27. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassSelection.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    28.  
    29. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/VFXParticleLitPlanarPrimitive.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    30.  
    31. Asset Packages/com.unity.render-pipelines.universal/Runtime/Materials/ArnoldStandardSurface/ArnoldStandardSurface.shadergraph has no meta file, but it's in an immutable folder. The asset will be ignored.
    32.  
    33. Asset Packages/com.unity.render-pipelines.universal/Runtime/Materials/PhysicalMaterial3DsMax/PhysicalMaterial3DsMax.shadergraph has no meta file, but it's in an immutable folder. The asset will be ignored.
    34.  
    35. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/AssetPostProcessors/ShaderGraphMaterialsUpdater.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    36.  
    37. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/AssetCallbacks/CreateLitShaderGraph.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    38.  
    39. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/Templates/SharedCode.template.hlsl has no meta file, but it's in an immutable folder. The asset will be ignored.
    40.  
    41. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/ShaderLibrary/ShaderVariablesFunctions.deprecated.hlsl has no meta file, but it's in an immutable folder. The asset will be ignored.
    42.  
    43. Asset Packages/com.unity.render-pipelines.universal/Editor/2D/ShaderGraph/AssetCallbacks/CreateSpriteCustomLitShaderGraph.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    44.  
    45. Asset Packages/com.unity.render-pipelines.universal/Editor/Converter/PPv2/EffectConverters/PostProcessEffectSettingsConverter.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    46.  
    47. Asset Packages/com.unity.render-pipelines.universal/Editor/GlobalSettings/SerializedUniversalRenderPipelineGlobalSettings.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    48.  
    49. Asset Packages/com.unity.render-pipelines.universal/Editor/ShaderGUI/MaterialAssemblyReference/MaterialAssemblyReference.asmref has no meta file, but it's in an immutable folder. The asset will be ignored.
    50.  
    51. Asset Packages/com.unity.render-pipelines.universal/Editor/UniversalRenderPipelineAsset/UniversalRenderPipelineAssetUI.Skin.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    52.  
    53. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleHexahedron/PassForward2D.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    54.  
    55. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleLinesSW/PassForward2D.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    56.  
    57. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassDepthNormal.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    58.  
    59. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassDepthOrMV.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    60.  
    61. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassForward.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    62.  
    63. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassGBuffer.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    64.  
    65. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticleMeshesLit/PassSelection.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    66.  
    67. Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/VFXParticleLitPlanarPrimitive.template has no meta file, but it's in an immutable folder. The asset will be ignored.
    68.  
    69. Asset Packages/com.unity.render-pipelines.universal/Runtime/Materials/ArnoldStandardSurface/ArnoldStandardSurface.shadergraph has no meta file, but it's in an immutable folder. The asset will be ignored.
    70.  
    71. Asset Packages/com.unity.render-pipelines.universal/Runtime/Materials/PhysicalMaterial3DsMax/PhysicalMaterial3DsMax.shadergraph has no meta file, but it's in an immutable folder. The asset will be ignored.
    72.  
    73. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/AssetPostProcessors/ShaderGraphMaterialsUpdater.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    74.  
    75. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/AssetCallbacks/CreateLitShaderGraph.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    76.  
    77. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/Templates/SharedCode.template.hlsl has no meta file, but it's in an immutable folder. The asset will be ignored.
    78.  
    79. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/ShaderLibrary/ShaderVariablesFunctions.deprecated.hlsl has no meta file, but it's in an immutable folder. The asset will be ignored.
    80.  
    81. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    82.  
    83. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    84.  
    85. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    86.  
    87. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    88.  
    89. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    90.  
    91. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    92.  
    93. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    94.  
    95. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    96.  
    97. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    98.  
    99. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    100.  
    101. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    102.  
    103. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    104.  
    105. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    106.  
    107. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    108.  
    109. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    110.  
    111. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    112.  
    113. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    114.  
    115. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    116.  
    117. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    118.  
    119. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    120.  
    121. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
    122.  
    123. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 328
     
  11. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    @Jonas-Mortensen @ali_mohebali @eduardooriz @dnach @UnityJuju @Cristianamoraruu
    getting the same error on 2022.1.21f1
    how to reproduce -> just use unity version mentioned above and try creating 3d URP template project
    tried everything: reinstall the same version, reimport everything, remove and reimport libraries, clearing any caches etc... Error still in place, please fix this in next release, this is a critical BUG for all those who are going to upgrade
     
  12. jordanlukem

    jordanlukem

    Joined:
    May 26, 2019
    Posts:
    3
    I am also experiencing this issue on the latest version of Unity 2022.1.21f1 - I have no idea how to start using the newest version for my new project. Any help on this would be much appreciated!
     
  13. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    This seems like a package cache issue having a mistamatch between different versions of URP and Core RP package.
    DebugDisplaySettingsPanel.cs was a file moved from URP to Core.

    You can try to reinstall the packages to get the cache in a correct state or to delete/clear the package cache https://docs.unity3d.com/Manual/upm-config-cache.html
     
  14. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    so every time we want to create new proj. with this version we need to do this?? also pls confirm is this a bug? @phil_lira
     
  15. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    tried to reinstall urp package and clear pack. manager cache, no result @phil_lira
     
  16. arttu_p

    arttu_p

    Unity Technologies

    Joined:
    Jan 15, 2021
    Posts:
    21
    @Kaymax just to double-check, did you try deleting the Library/PackageCache directory from your project directory?
     
  17. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    yes, no changes, error remains
     
  18. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    @Kaymax do you have any local packages in your Packages folder or have local packages in your package manifest?
    Can you quickly share the manifest file?
     
  19. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    @arttu_p
    Things I have tried:
    • deleting the Library/PackageCache directory, deleting
    • deleting C:\Users\username\AppData\Local\Unity\cache
    • reinstalled all corresponding packages and installed again
    • reinstalled Unity version 2022.1.21f1
    • restarted Unity many times, recreated project several times usin 3d URP template
    issue still there, should we add this to BUG backlog? :)
    also will this be fixed in next release?
     
  20. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    manifest as requested @phil_lira

    {
    "dependencies": {
    "com.unity.ide.rider": "3.0.16",
    "com.unity.render-pipelines.universal": "13.1.8",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.7.2",
    "com.unity.ugui": "1.0.0",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
    }
    }

     
  21. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    errors I have, after clearing console those 2 remains, after I refresh unity window got also list of other errors
     

    Attached Files:

  22. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    I can't figure out anything obvious. At this point I ask that you submit a bugreport with the repro project. We will take a look asap.
     
  23. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
  24. RiccardoAxed

    RiccardoAxed

    Joined:
    Aug 29, 2017
    Posts:
    119
    Just installed the 2022.1.21f1 version and, surprise, I've the same, identical situation described by @Kaymax

    SnapShot_221104_165916.png
     
    Vagabond_ and FaberVi like this.
  25. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    yes this is a major bug if most of us having right away after creating new project
     
  26. Zephus

    Zephus

    Joined:
    May 25, 2015
    Posts:
    356
    I have deleted every single trace of Unity on my computer, re-installed and still got the error messages. And I have just installed Unity on a new machine and it also doesn't work. A few other people I know are reporting the exact same issue. The newest version simply does not work with the URP templates. It can be reproduced by simply installing it and making a new URP project, which will lead to errors without fail on every machine I tried.

    As far as I can tell this has to be a major bug on Unity's side. I mean, you just can't make a new project if you install the newest version, but for some reason .20f1 worked for me.
     
  27. btsn

    btsn

    Joined:
    May 12, 2017
    Posts:
    40
    lord_danzig likes this.
  28. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    hey boys, hey girls, I have already created detailed bug report with screenshots most likely they will fix in upcoming release
     
    SpencerGR likes this.
  29. lord_danzig

    lord_danzig

    Joined:
    Oct 21, 2016
    Posts:
    2
    +1 for 2022.1.21f1 . frustrating because i only updated to this version per Unity's recommendation and it breaks the template. already uninstalled my previous version and now I have to waste time reinstalling it.
     
    Vagabond_ likes this.
  30. UFODriverr

    UFODriverr

    Joined:
    Nov 20, 2014
    Posts:
    18
    Same thing here. Waiting for new 2022 version with a fix.
    Not sure how u guys pushed update with such huge bug XD
     
    RiccardoAxed likes this.
  31. pelesiooioiyfsdwer

    pelesiooioiyfsdwer

    Joined:
    Dec 21, 2020
    Posts:
    1
    Same here. Core HDRP template or 3D Sample Scene (HDRP) throws same errors and demands safe mode.

    2022.1.21f1
     
  32. SYCHONL

    SYCHONL

    Joined:
    Nov 14, 2021
    Posts:
    3
    Same error here with URP and unity version 2022.1.21f1. Hope this gets fixed soon.
     
  33. adslitw

    adslitw

    Joined:
    Aug 23, 2012
    Posts:
    268
    Just a quick +1 on this - just udpated to 2022.1.21 and have got the same problem when installing URP package. Tried deleting cache etc.
     
  34. PlayCoins

    PlayCoins

    Joined:
    Jan 5, 2017
    Posts:
    4
    Same issue :(
     
  35. GeorgeADoyle

    GeorgeADoyle

    Joined:
    Jul 9, 2013
    Posts:
    1
    I downloaded the "Official Release" for 2022 just a bit earlier this morning (ie 2022.1.21f1) on Unity Hub, and got this same error when I created my first new project.

    I came here and saw the post from btsn saying the fix was coming today with the new version release, 2022.1.22f1.

    I checked Unity Hub again (less than an hour after the first installation) and found the "Official Release" for Unity 2022 had updated to 2022.1.22f1. I downloaded this version, and opened the same project I had created in 21f1, in the new version, 22f1, and it worked just fine.

    Sometimes, timing is everything. If you're using Unity 2022.1.21f and you get this error, the new release is available on Unity Hub now, and it appears to resolve the issue
     
  36. jordanlukem

    jordanlukem

    Joined:
    May 26, 2019
    Posts:
    3
    I'm experiencing the same issue in a fresh project (both URP Sample project and blank project + installing the URP package) in Unity 2022.1.22f1. Can confirm that the meta files are still missing in the PackageCache folder - ie. F:\Rhys\Library\PackageCache\com.unity.render-pipelines.universal@13.1.8\Editor\VFXGraph\Shaders\Templates\ParticlePlanarPrimitives


    Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticlePlanarPrimitives/PassForward2D.template has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticlePlanarPrimitivesLit/PassDepth.template has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticlePlanarPrimitivesLit/PassForward.template has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.render-pipelines.universal/Editor/VFXGraph/Shaders/Templates/ParticlePlanarPrimitivesLit/PassGBuffer.template has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/AssetCallbacks/CreateUnlitShaderGraph.cs has no meta file, but it's in an immutable folder. The asset will be ignored.

    Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/ShaderGUI/MaterialAssemblyReference/RawRenderQueue.cs has no meta file, but it's in an immutable folder. The asset will be ignored.

    Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\BaseShaderGUI.cs(212,34): error CS0103: The name 'MaterialAccess' does not exist in the current context


    upload_2022-11-10_13-42-20.png
     
  37. Kaymax

    Kaymax

    Joined:
    Feb 12, 2017
    Posts:
    27
    not good.... I thought this will be fixed in 22f1 .... alas...
    @phil_lira
     
  38. MysteryGuestNr2

    MysteryGuestNr2

    Joined:
    Sep 21, 2022
    Posts:
    3
    Same problem here, with 2022.1.21f1

    Updating to 2022.1.23f1 fixed all issues.
     
  39. gamemaker94

    gamemaker94

    Joined:
    Aug 24, 2018
    Posts:
    1
    My Solution That Took Me More Than A Year To Find - LOL

    I don't know if anyone still has this issue but I still had it. It bothered me for more than a year. Today, I solved it. The only version that worked for me was Unity 2021.3.4f1 and nothing else worked. Today I checked where all the Unity versions are installed. To my suprise, only 2021.3.4f1 was installed in Program Files and others were in completely unrelated folders. Reinstalling was not fixing my problems with URP because Unity Hub saved that unrelated folder as default and I was installing all new versions there.

    Today I simply changed install location to Program Files again. Now it works.

    This might not be the issue for everyone but It was for me and It was annoying for a very long time. Just check where the working version is and install new versions there as well.