Obi Official Forum
Bug / Crash Android not building - missing URP dependency - 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: Bug / Crash Android not building - missing URP dependency (/thread-3800.html)



Android not building - missing URP dependency - riesvriend - 14-03-2023

My scenario

- Create New 3D project in Unity
- Add Obi Rope 6.5.1 (My Assets)
- Add Universal RP (Unity Registry)
- Add Collections (Unity Registry) -> Burst is already there by default
- Add a Rope to the sample scene

- Build for Windows -- OK

- Build for Android, 2 errors:
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)


- Delete folder Assets/Obi/Resources/ObiMaterials/URP from project

Builds OK now.


RE: Android not building - missing URP dependency - josemendez - 14-03-2023

(14-03-2023, 01:10 PM)riesvriend Wrote: - Build for Android, 2 errors:
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)


- Delete folder Assets/Obi/Resources/ObiMaterials/URP from project

Builds OK now.

Hi!

Yep, this is explained in the setup guide:
http://obi.virtualmethodstudio.com/manual/6.3/setup.html

Quote:If you're not using SRPs but the built-in pipeline, it's safe to delete the /Obi/Resources/ObiMaterials/URP folder. Otherwise Unity will raise an error at build time, stating that it cannot find the URP pipeline installed.