Shader Error when building project. - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Shader Error when building project. (/thread-3602.html) |
Shader Error when building project. - atracktiv - 28-09-2022 Hi, I'm using URP with OBI Rope, but I'm getting the well know Shader errors. What could it be ? See screenshot : http://tools.quadbyte.net/snap/Unity_sYu1pmaPFZ.png Thanks in advance for your precious help. Code: Shader error in 'Obi/URP/Particles': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl'. at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(3) RE: Shader Error when building project. - josemendez - 29-09-2022 (28-09-2022, 11:05 PM)atracktiv Wrote: Hi, Hi! If the file is there indeed, this means Unity cannot resolve "com.unity.render-pipelines.universal", which probably indicates URP is not correctly installed. Which file path is shown by Unity when selecting Core.hlsl in the project? RE: Shader Error when building project. - atracktiv - 29-09-2022 (29-09-2022, 08:24 AM)josemendez Wrote: Hi! The path in the project status bar seems correct to me. I have really no clue on what's going on. Already tried to remove URP then redid the setup. and I always got this. I'm on Unity 2021.3.10f1 http://tools.quadbyte.net/snap/0E44wjyAbW.png RE: Shader Error when building project. - josemendez - 29-09-2022 (29-09-2022, 11:23 AM)atracktiv Wrote: The path in the project status bar seems correct to me. I'm unable to reproduce this, sounds like a Unity bug. If the URP pipeline is correctly installed and the files are there, there's no reason for other shaders not to find them. Make a backup of your project (don't skip this!) and then try deleting the Library folder and reopen the project. RE: Shader Error when building project. - atracktiv - 29-09-2022 Thanks a ton Jose, that fixed it! Totally forgot about trying to delete the Library folder when things go awry. Cheers and have a great day. RE: Shader Error when building project. - josemendez - 29-09-2022 (29-09-2022, 12:24 PM)atracktiv Wrote: Thanks a ton Jose, that fixed it! Glad to hear that ,let me know if I can be of further help. cheers! |