- Home /
unity hdrp giving error
@everyone I am getting this error when I import hdrp into unity can someone plz help: Library\PackageCache\com.unity.xr.management@3.2.17\Editor\XRGeneralBuildProcessor.cs(39,52): error CS0117: 'BuildPipeline' does not contain a definition for 'GetBuildTargetName'
Answer by Barliesque · Dec 09, 2020 at 06:48 PM
I just ran into the same thing in Unity 2020.1.11.
@Vmaster2000 Nothing to do with HDRP or SRP in general.
@aimanebenyagoub12 In Package Manager, with "Packages: In Project" selected in the upper left corner, you should see "XR Plugin Management (3.2.17)" in the list. Expand that item and you should see "Show All Versions." Select 3.2.16 and then the press the update button. That resolved it for me.
Thank you, I finally downgraded it and I don't have the error anymore, but when I open "Project settings" -> "Player" ->"Other settings" I don't see Virtual Reality supported under "XR settings". Do you how I can fix that?
Answer by Domcoc · Jan 22, 2021 at 05:38 PM
doesn't work for me. Downgraded to XR Plugin Management 3.2.16 and the error still occurs. I'm using Unity 2019.4.13
I've just encountered this. I had AR Foundation 4.1.3 and ARKit XR Plugin 4.1.3 imported and with them it wouldn't let me downgrade XR Plugin $$anonymous$$anagement to 3.2.16. I've just downgraded both AR Foundation and ARKit to 4.1.1 and now I can downgrade to XR Plugin $$anonymous$$anagement to 3.2.16 and it compiles.
Thank you! Downgrading to 4.1.1 did the trick for me also
tryed your solution but still doesn't work. Which version of Unity are you using?
I'm on 2019.4.1 Noticed that with 4.1.3 it wouldn't allow me to select Plugin $$anonymous$$anagement 3.2.16, I could only select it with an earlier version of AR Foundation and AR Kit. As I'm using Xcode 10.1 I ended having to use 2.1.10 of AR Foundation and AR Kit, but even with these the most recent 2.1.x versions insisted on 3.2.17 and failed with the same error.
ok after some "trial and error" I managed to understand that when I update ARKit XR Plugin to 2.1.14 (the "verified" version), for some reason it forced the update to XR Plugin $$anonymous$$anagement 3.2.17 (the buggy one). So I ended up by downgrading ARKit XR Plugin to 2.1.10 and automatically it downgrades also xr plugin management to 3.2.16. I really hope that, in the future, AR Foundation puts in order this situation that, for now, is very very messy!
Answer by rzuf · Dec 08, 2020 at 10:07 PM
Just stumbled upon this one. Downgrading the XR Management plugin via Package Manager helped.
Answer by aimanebenyagoub12 · Dec 09, 2020 at 05:50 PM
How does one downgrade the XR Management plugin via Package Manager? I am new to Unity.
Answer by sauravstr · Jan 30, 2021 at 04:57 AM
For me nothing worked. Unity is such a pain.... Why so many versions!!!!
Your answer
Follow this Question
Related Questions
HDR spheremap not appearing in scene 0 Answers
Unity 2019.1 hdrp hdri sky. 0 Answers
HDR data is not rendered into render texture when using URP 2 Answers
Using a sequence of frames as a material emissive map. 0 Answers
texture import gamma settings 0 Answers