[Unity] Shader Graph Error 當前渲染管道與此主節點不兼容(The current render pipeline is not compatible with this master node)


Shader Graph Error  : The current render pipeline is not compatible with this master node

 

問題產生環境:

Unity 2019.2.15f1

HDRP 6.9.2

報錯和截圖如上, 說是 當前渲染管道與此主節點不兼容, 

解決方法:

 

 1: 在 Assets 資源管理器中新建一個文件夾, 例如上圖中我是在 _Shaders 文件夾下新建了一個名為 HDRP 的文件夾

 2: 選中剛剛新建的文件夾, 點擊鼠標右鍵創建 HDRP 管道資源

右鍵 --> Create --> Rendering --> High Definition Render Pipeline Asset

就可以得到 HDRP 渲染管道資源 HDRenderPipelineAsset

3: 將渲染管道資源放到項目管理的 Scriptable Render Pipeline Settings 中

Edit --> Project Settings --> Graphics --> 拖動 HDRenderPipelineAsset --> Scriptable Render Pipeline Settings

 

這樣一來, 問題就解決了

 

 報錯信息消失, 問題成功解決


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM