Tag Archives: oculus

[Solved] Unity Error: ‘BuildPipeline‘ does not contain a definition for ‘GetBuildTargetName‘

@[TOC] (error: Library \ packagecache \ com. Unity. XR [email protected] \Editor\XRGeneralBuildProcessor.cs(83,52): error CS0117: ‘BuildPipeline’ does not contain a definition for ‘GetBuildTargetName’)

Problem Description:

when unity develops oculus quest, it will report an error library \ packagecache \ com.unity.xr [email protected] \Editor \ xrgeneralbuildprocessor.cs (83,52): error cs0117: ‘buildpipeline’ doors not contain a definition for ‘getbuildtargetname’
my unit version is 2019.4


Cause analysis:

the version of the plug-in matches the version of the unity step, resulting in </ font>


Solution:

delete ar foundation, downgrade XR plug-in management to 3.2.16, downgrade ar foundation and arkit XR plug-ins to 4.1.1, and reinstall ar foundation
record the pit encountered and it has been solved

unity 3D:Virtual Reality SDK Oculus failed to initialize.

problem description:

unity3D has successfully connected to the oculus helmet, and can carry out front and back movement and rotation operations in the u3D compiler, but an error has been reported in the unity console, as shown in the figure below,

Virtual Reality SDK oculus failed to initialize.

  1. new project. No error will be reported after creating a new project, but the helmet is still not shown, and the same error will be opened again after closing the project.
  2. reimport oculus package, https://stackoverflow.com/questions/58744920/virtual-reality-sdk-oculus-failed-to-initialize said doesn ‘t work. I didn’t try, I didn’t know
  3. is looking for… I update the
    — — — — — — — — — —
    update, this equipment has been abandoned, no display of helmet should be separately display did not set up in a computer.