realgamessoftware / dear-imgui-unity

Unity package for Dear ImGui
MIT License
455 stars 108 forks source link

Unable to build with built-in pipeline, it requires URP #12

Open nothke opened 4 years ago

nothke commented 4 years ago

The gui works fine in Editor with built-in pipeline, but when attempting to build, the shader seems to be looking for URP. I get these error messages:

Shader error in 'DearImGui/Mesh': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl' at /Projects/UNITY/PACKAGES/dear-imgui-unity-original/Resources/Shaders/PassesUniversal.hlsl(4) (on d3d11)

Shader error in 'DearImGui/Procedural': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl' at /Projects/UNITY/PACKAGES/dear-imgui-unity-original/Resources/Shaders/PassesUniversal.hlsl(4) (on d3d11)

Error building Player: 2 errors
nothke commented 4 years ago

Ok, it builds fine in "procedural" mode, but not in "mesh" mode.