Search Issue Tracker

In Progress

Under Consideration for 1.8.X

Votes

0

Found in [Package]

1.8.18

Issue ID

BUR-2752

Regression

Yes

Build fails with burst errors when building for VisionOS with the 3D URP template and the Unity glTFast and Draco for Unity packages

Package: Burst

-

How to reproduce:
1. Open the “ReproVisionOSBurstErrors“
2. Open the “SampleScene“
3. Build for VisionOS
4. Observe the Console window

Alternative reproduction:
1. Create a URP 3D template project
2. Add the “{{com.unity.cloud.draco}}“ and “{{com.unity.cloud.gltfast}}“ packages
3. Create a script that references “glTFast“ (For example put “{{GltfAsset gltFastAsset = new GltfAsset();}}“ in the “{{Start()}}“ method)
4. Build for VisionOS
5. Observe the Console window

Expected result: Successful Build and no errors
Actual result: Build Failed and several Burst errors

Reproducible with: 1.8.13 (2022.3.22f1, 6000.0.0b12), 1.8.18 (2022.3.48f1, 6000.0.21f1)
Could not test with: 1.8.18 (2021.3.44f1) (VisionOS module is only available for 2022.3.5f1+)
Not reproducible with: 1.8.12 (2022.3.22f1, 6000.0.0b12)

Reproducible on: macOS 14.6.1 (Intel)
Not reproducible on: No other environments tested

Workaround: If Burst is not essential, in the “Edit/Project Settings/Burst AOT Settings“ disable Burst Compilation

Note: Not reproducible with a simple 3D template with the built-in rendering pipeline or if adding the “Universal RP“ package to the simple 3D template

Errors (Shortened):
- Library/Bee/artifacts/VisionOS/AsyncPluginsFromLinker: ld: warning: no platform load command found in
- Library/Bee/artifacts/VisionOS/AsyncPluginsFromLinker: Burst internal compiler error: Burst.Compiler.IL.Aot.AotLinkerException: Non 0 exit code | The native archive step failed. Check previous exception in the log - archive command line : "xcrun --sdk xrsimulator clang -dynamiclib -arch arm64 -isysroot '/Applications/Xcode.app/Contents/Developer/Platforms/XRSimulator.platform/Developer/SDKs/XRSimulator1.0.sdk' -install_name @rpath/lib_burst_generated.bundle -o
- Building Library/Bee/artifacts/VisionOS/AsyncPluginsFromLinker failed with output:
UnityEditor.Build.BuildFailedException: Burst compiler failed running

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.