• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by bluemanD · Nov 29, 2021 at 05:31 PM · projectpackagesnewlibrarycompiler error

[SOLVED] The High Definition Render Pipeline has compiler errors when creating a new project.

-EDIT- I fixed it by completely reinstalling Unity. I deleted every version of the editor and Unity Hub and every folder related to Unity. It works again now. Something got seriously screwed up before and I'm glad it's fixed. I hope this helps somebody if they have the same issue!


I have had this issue since Unity 2021.1 and I just can't seem to fix it. When I create a new HDRP project there are compiler errors such as Library\PackageCache\com.unity.shadergraph@12.1.1\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\MaterialAssemblyReference\RawRenderQueue.cs(12,24): error CS1061: 'Material' does not contain a definition for 'rawRenderQueue' and no accessible extension method 'rawRenderQueue' accepting a first argument of type 'Material' could be found

AND Library\PackageCache\com.unity.render-pipelines.high-definition@12.1.1\Runtime\Compositor\AlphaInjection.cs(59,30): error CS0115: 'AlphaInjection.Cleanup()': no suitable method found to override

There are 16 errors.

I have deleted the library folder, the packages folder, deleted and reinstalled the HDRP package and it just won't work. I'm currently trying to use Unity 2021.2 and it stills has the same errors with HDRP version 12.1.1. Any help will be very appreciated!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by swatter555 · 4 days ago

This is a rational response? Scrub your hard drive on any unity file whatsoever and reinstall everything and hope for the best? I'm not faulting the OP, but you might think the Unity team might take an interest in fixing this? All I did was import the URP package and viola I have to eradicate every unity file on my computer and reinstall everything to even have a hope of actually using it? Really?

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bluemanD · 4 days ago 0
Share

I believe that my issue was my fault. I had different parts of Unity stored across multiple drives. I now have everything besides Unity editor versions stored on a single drive and haven't had any issues since. Also it only started happening after I created two projects with the same name. My guess is I screwed something up and I just had to reinstall Unity. After reinstalling I haven't had any issues regarding my original issue and I have created many projects using HDRP. If you are having issues, there are a few other things you can try. Try deleting your library folder in your project, after making a backup, and let Unity remake the folder. You can try getting the latest URP version from GitHub inside the Unity editor. There are few tutorials out there on how to do this. I'm sorry if this didn't help. If these don't work than your best bet is to either keep researching or to reinstall Unity.

avatar image swatter555 bluemanD · 3 days ago 0
Share

I'm glad your not having issues anymore. Unfortunately, I have no recourse and no practical/rational way to deal with the issue short of reformatting my hard drive. This is a nasty, nasty bug they don't even want to acknowledge. I deleted every Unity file I could find and reinstalled everything. The only thing I didn't do was mess with the windows registry. At this point, I'm just giving up. It's all black magic at this point and I hope that I don't encounter this again in some other form in the future.

avatar image bluemanD swatter555 · 3 days ago 0
Share

I'm sorry that you couldn't get it fixed. I can't imagine was is causing this bug other than there being an issue with your machine. I'm not saying this is the case, just that I have no other idea of what would cause this. Also maybe your hard drive or ssd is having issues. I'm sorry I couldn't help and hope you can solve your problem!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

131 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

I cant create a new project in Unity Pro 2.6.1 1 Answer

How to override package source code 1 Answer

Unity Package Manager Failed to resolve packages: "zlib: incorrect data check" 0 Answers

Cannot Open Projects: Invalid Project Path 1 Answer

Internal Compiler Error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges