Obi Official Forum

Full Version: Android not building - missing URP dependency
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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/manua...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.