Search Issue Tracker

Fixed in 2.2.0-preview.6

Votes

3

Found in [Package]

1.0.0 preview 22

Issue ID

1110363

Regression

No

[XR] 2018.3 apk builds throw a Build Failed Exception when toggling Multi-Threaded Rendering for the ARCore

Package: ARCore

-

The patch notes for 2018.3 say that "XR: Android apps that use ARCore can now use multi-threaded rendering."

To reproduce:
1. Download the sample project https://github.com/Unity-Technologies/arfoundation-samples
2. Switch platform to Android and toggle "Multithreaded Rendering" in Player Settings
3. Build an apk

Expected result: The build succeeds with no errors
Actual result: The build succeeds but a Build Failed Exception is thrown informing that "Multithreaded Rendering and Graphics Jobs (Player Settings > Other Settings) are not supported for ARCore."

Reproduced with 2018.3.0f1, 2018.3.0f2, 2018.3.1f1

Comments (3)

  1. daniel_clay

    Dec 07, 2021 02:59

    cyanogenmods.org/?unity3d.com

  2. mmsdaus

    Aug 31, 2019 00:02

    BuildFailedException: Multithreaded Rendering and Graphics Jobs (Player Settings > Other Settings) are not supported for ARCore.
    UnityEditor.XR.ARCore.ARCorePreprocessBuild.EnsureMultithreadedRenderingDisabled (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.xr.arcore@2.0.2/Editor/ARCoreBuildProcessor.cs:71)
    UnityEditor.XR.ARCore.ARCorePreprocessBuild.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.xr.arcore@2.0.2/Editor/ARCoreBuildProcessor.cs:23)
    UnityEditor.Build.BuildPipelineInterfaces+<OnBuildPreProcess>c__AnonStorey0.<>m__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:376)
    UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:356)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  3. mmsdaus

    Aug 31, 2019 00:00

    I have the same issue in 2019.2.0f1, using arcore-unity-sdk-v1.11.unitypackage

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.