Skip to content

Commit 2458c9a

Browse files
committed
[fix] fix the issue in Unity 6000 where the modification of the trimmed AOT DLL output directory for the visionOS build target caused CopyStrippedAOTAssemblies::GetStripAssembliesDir2021 to fail in copying AOT DLLs.
1 parent 4d0fef0 commit 2458c9a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Editor/BuildProcessors/CopyStrippedAOTAssemblies.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@ public static string GetStripAssembliesDir2021(BuildTarget target)
4747
#if UNITY_TVOS
4848
case BuildTarget.tvOS:
4949
#endif
50+
return $"{projectDir}/Library/Bee/artifacts/iOS/ManagedStripped";
5051
#if UNITY_VISIONOS
5152
case BuildTarget.VisionOS:
53+
#if UNITY_6000_0_OR_NEWER
54+
return $"{projectDir}/Library/Bee/artifacts/VisionOS/ManagedStripped";
55+
#else
56+
return $"{projectDir}/Library/Bee/artifacts/iOS/ManagedStripped";
57+
#endif
5258
#endif
53-
return $"{projectDir}/Library/Bee/artifacts/iOS/ManagedStripped";
5459
case BuildTarget.WebGL:
5560
return $"{projectDir}/Library/Bee/artifacts/WebGL/ManagedStripped";
5661
case BuildTarget.StandaloneOSX:

0 commit comments

Comments
 (0)