"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Extending a Hololens Unity project with Vuforia tracking makes it impossible to build

Vuforia SDK Version: 8.3.9 - Description with steps to reproduce: I created a Hololens project in Unity 2019. It builds and runs fine. Then I tried adding an Vuforia object target (along with the camera script). Now the project won't build (though it does run without errors in play mode). I've narrowed down that the issue starts when enabling Vuforia support in the player settings. When I disable it, it works again. I will attach the whole console log from the build below. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Reference Rewriter found some errors while running with command "--target=Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" "--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.SceneSystem.dll" [ list continues on for many lines ] Reference rewriter: Error: type `UnityEngine.Experimental.Rendering.RenderPipeline` doesn't exist in target framework. It is referenced from Vuforia.UnityExtensions.dll at System.Void Vuforia.UnityRenderEventBroadcaster::UnregisterScriptableRenderPipeline(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1164) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:206) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Reference rewriter: Error: method `System.Void UnityEngine.Experimental.Rendering.RenderPipeline::remove_beginFrameRendering(System.Action`1)` doesn't exist in target framework. It is referenced from Vuforia.UnityExtensions.dll at System.Void Vuforia.UnityRenderEventBroadcaster::UnregisterScriptableRenderPipeline(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1164) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:206) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Reference rewriter: Error: type `UnityEngine.Experimental.Rendering.RenderPipeline` doesn't exist in target framework. It is referenced from Vuforia.UnityExtensions.dll at System.Void Vuforia.UnityRenderEventBroadcaster::UnregisterScriptableRenderPipeline(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1164) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:206) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Reference rewriter: Error: method `System.Void UnityEngine.Experimental.Rendering.RenderPipeline::remove_beginCameraRendering(System.Action`1)` doesn't exist in target framework. It is referenced from Vuforia.UnityExtensions.dll at System.Void Vuforia.UnityRenderEventBroadcaster::UnregisterScriptableRenderPipeline(). UnityEngine.Debug:LogError(Object) PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1164) PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:206) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Failed running C:\Program Files\Unity\Hub\Editor\2019.3.0a11\Editor\Data\il2cpp\build/UnityLinker.exe -out=C:/Unity [... list goes on] Exception: C:\Program Files\Unity\Hub\Editor\2019.3.0a11\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly! Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) UnityEditor.BuildPlayerWindow+BuildMethodException: 8 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00275] in <7b513489a0a84a38ba47d891191a9f18>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <7b513489a0a84a38ba47d891191a9f18>:0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) - Development OS (Mac OS X, Windows, Linux): Windows 10 - Mobile OS and Version: Hololens - Mobile Device Manufacturer and Model name: Hololens - Do the Vuforia Sample Applications show the same behavior?: yes

Hi,

As per the error it seems that Vuforia is trying to use an Experimental Pipeline that apparently is not available in Unity anymore.

Could you please confirm which Unity version are you using?

Hi,

 

the project is running on Unity 2019.3.0a. Though I have tried using my project assets in 2019.1.9 to no success.

I updated the 3.0a version to Vuforia 8.5, now I get a whole new set of errors without even hitting play mode. I will post them below: