Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## [6.0.4] - 2024-12-05

### Changed
  • Loading branch information
Unity Technologies committed Dec 5, 2024
1 parent 539beaf commit 7e8f45d
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
1 change: 1 addition & 0 deletions .signature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"timestamp":1733371419,"signature":"rxEJnR7Uknr51nPG6fotbWDOgOIZwQZc9pjpQUmtJ0ESNgUgclUAROUaTwck3uWhTXl1nFCYMpN6qXSq5e5pHypvFZTM65sLaXc68bhPf0dLkkfDCYfdYEarY06r8zA9JmCCGofbfO7ZJ1a6ZtQXzO3+FTRYHp0os0Ka0UAPC/OkMEZLPuMFxVVpuSJ7jDKNvX/aFkgPkGBsi6vIe4EBPCPFZfmyXyLwO/mn/jspa4ixerBOi0AFemvzZaGUYb0RmTbSPftAoEB+uBqOUSX2ZFftSqB+lqrmCG0NyqxkTmP+Z1XeTU50dj2zMWn5Wsdh+VnrBuVIuBauNtN9887KCzcnaTb6HnPsTNJFotCd5BitDysxMJsq3brmTbxlBEGurRYo3S+e0eTsMYEajeemrjkhv11GHhlobzTMmv0O9449Y4v/nNKn5QuFmeg6vcKT9K+y1UbYmwpBlFU2O7x+K/+Ca3opbs7RHvITNxqQhH+8EehGeXqgwUGb4aUktS4F","publicKey":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQm9qQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FZOEFNSUlCaWdLQ0FZRUFzdUhXYUhsZ0I1cVF4ZEJjTlJKSAordHR4SmoxcVY1NTdvMlZaRE1XaXhYRVBkRTBEMVFkT1JIRXNSS1RscmplUXlERU83ZlNQS0ZwZ1A3MU5TTnJCCkFHM2NFSU45aHNQVDhOVmllZmdWem5QTkVMenFkVmdEbFhpb2VpUnV6OERKWFgvblpmU1JWKytwbk9ySTRibG4KS0twelJlNW14OTc1SjhxZ1FvRktKT0NNRlpHdkJMR2MxSzZZaEIzOHJFODZCZzgzbUovWjBEYkVmQjBxZm13cgo2ZDVFUXFsd0E5Y3JZT1YyV1VpWXprSnBLNmJZNzRZNmM1TmpBcEFKeGNiaTFOaDlRVEhUcU44N0ZtMDF0R1ZwCjVNd1pXSWZuYVRUemEvTGZLelR5U0pka0tldEZMVGdkYXpMYlpzUEE2aHBSK0FJRTJhc0tLTi84UUk1N3UzU2cKL2xyMnZKS1IvU2l5eEN1Q20vQWJkYnJMbXk0WjlSdm1jMGdpclA4T0lLQWxBRWZ2TzV5Z2hSKy8vd1RpTFlzUQp1SllDM0V2UE16ZGdKUzdGR2FscnFLZzlPTCsxVzROY05yNWdveVdSUUJ0cktKaWlTZEJVWmVxb0RvSUY5NHpCCndGbzJJT1JFdXFqcU51M3diMWZIM3p1dGdtalFra3IxVjJhd3hmcExLWlROQWdNQkFBRT0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg"}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [6.0.4] - 2024-12-05

### Changed

- Changed AR Foundation dependency version from 6.0.3 to 6.0.4

### Fixed

- Fixed linker error when ARKit was not enabled in XR Management.

## [6.0.3] - 2024-08-16

### Changed
Expand Down
10 changes: 5 additions & 5 deletions Documentation~/arkit-camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ The following code samples demonstrate how to configure advanced camera hardware
### Check Support
The following example method checks whether the ARKitCameraSubsystem is available and whether it supports the advanced camera configuration feature. This method is used by the other code examples on this page.

[!code-cs[CameraExposure](../Tests/CodeSamples/ARKitCameraSubsystemTests.cs#AdvancedConfigurationSupport)]
[!code-cs[CameraExposure](../Tests/Runtime/CodeSamples/ARKitCameraSubsystemTests.cs#AdvancedConfigurationSupport)]

### Exposure
The following example method tries to lock the camera and, if successful, sets the exposure.
[!code-cs[CameraExposure](../Tests/CodeSamples/ARKitCameraSubsystemTests.cs#CameraExposure)]
[!code-cs[CameraExposure](../Tests/Runtime/CodeSamples/ARKitCameraSubsystemTests.cs#CameraExposure)]

### White Balance
The following example method tries to lock the camera and, if successful, sets the white balance.

[!code-cs[CameraWhiteBalance](../Tests/CodeSamples/ARKitCameraSubsystemTests.cs#CameraWhiteBalance)]
[!code-cs[CameraWhiteBalance](../Tests/Runtime/CodeSamples/ARKitCameraSubsystemTests.cs#CameraWhiteBalance)]

### Focus
The following example method tries to lock the camera and, if successful, sets the focus.
[!code-cs[CameraFocus](../Tests/CodeSamples/ARKitCameraSubsystemTests.cs#CameraFocus)]
[!code-cs[CameraFocus](../Tests/Runtime/CodeSamples/ARKitCameraSubsystemTests.cs#CameraFocus)]


## High resolution CPU image
Expand All @@ -83,7 +83,7 @@ You can asynchronously capture a high resolution [XRCpuImage](xref:UnityEngine.X

The example below demonstrates a coroutine to set up and handle the asynchronous request:

[!code-cs[HighResolutionCpuImageSample](../Tests/CodeSamples/ARKitCameraSubsystemTests.cs#HighResolutionCpuImageSample)]
[!code-cs[HighResolutionCpuImageSample](../Tests/Runtime/CodeSamples/ARKitCameraSubsystemTests.cs#HighResolutionCpuImageSample)]

Whenever you successfully acquire a high resolution CPU image, you should [Dispose](xref:UnityEngine.XR.ARSubsystems.XRCpuImage.Dispose) it as soon as possible, as CPU images require native memory resources. If you retain too many high-resolution images, ARKit can be prevented from rendering new frames.

Expand Down
4 changes: 2 additions & 2 deletions Runtime/ARKitAnchorSubsystem.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Unity.Collections;
using UnityEngine.Scripting;
using UnityEngine.XR.ARSubsystems;
#if UNITY_IOS && !UNITY_EDITOR
#if UNITY_XR_ARKIT_LOADER_ENABLED
using System.Runtime.InteropServices;
#endif

Expand Down Expand Up @@ -67,7 +67,7 @@ public override bool TryRemoveAnchor(TrackableId anchorId)
return UnityARKit_anchors_tryRemove(anchorId);
}

#if UNITY_IOS && !UNITY_EDITOR
#if UNITY_XR_ARKIT_LOADER_ENABLED
[DllImport("__Internal")]
static extern void UnityARKit_anchors_onStart();

Expand Down
Binary file modified Runtime/FaceTracking/iOS/Xcode1500/libUnityARKitFaceTracking.a
Binary file not shown.
Binary file modified Runtime/iOS/Xcode1500/libUnityARKit.a
Binary file not shown.
File renamed without changes.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.xr.arkit",
"displayName": "Apple ARKit XR Plugin",
"version": "6.0.3",
"version": "6.0.4",
"unity": "6000.0",
"description": "Provides native Apple ARKit integration for use with Unity's multi-platform XR API.\nSupports the following features:\n-Efficient Background Rendering\n-Horizontal Planes\n-Depth Data\n-Anchors\n-Hit Testing\n-Face Tracking\n-Environment Probes\n-Meshing\n-Occlusion\n\n* Apple and ARKit are trademarks of Apple Inc., registered in the U.S. and other countries and regions.",
"keywords": [
Expand All @@ -13,20 +13,20 @@
],
"dependencies": {
"com.unity.editorcoroutines": "1.0.0",
"com.unity.xr.arfoundation": "6.0.3",
"com.unity.xr.arfoundation": "6.0.4",
"com.unity.xr.core-utils": "2.2.2",
"com.unity.xr.management": "4.4.0"
},
"_upm": {
"changelog": "### Changed\n\n- Changed AR Foundation dependency version from 6.0.2 to 6.0.3"
"changelog": "### Changed\n\n- Changed AR Foundation dependency version from 6.0.3 to 6.0.4\n\n### Fixed\n\n- Fixed linker error when ARKit was not enabled in XR Management."
},
"upmCi": {
"footprint": "15f300eb61761e624b756488cbe097797c3729af"
"footprint": "fd9878d7a808ff8e7f68a80d772ca96aa5caa888"
},
"documentationUrl": "https://docs.unity3d.com/Packages/[email protected]/manual/index.html",
"repository": {
"url": "https://github.cds.internal.unity3d.com/unity/arfoundation.git",
"type": "git",
"revision": "c6a307e1c416028a42136ead52020a78c98c540f"
"revision": "678f748f9ba38582f85380bff7e80a97d86dbb56"
}
}

0 comments on commit 7e8f45d

Please sign in to comment.