Releases: Uralstech/UXR.QuestCamera
UXR.QuestCamera v4.0.0 Preview 2
UXR.QuestCamera v4.0.0 is a rewrite of the package with lots of breaking changes. Please see the reference manual for the new API. Documentation and samples are still a WIP.
What's Changed
- The Unity Sentis digit recognition sample has been updated to the latest API.
- All usages of
RenderTextureFormatandTextureFormathave been replaced withGraphicsFormat. GLESCaptureSession.StartRunLoophas been renamed toGLESCaptureSession.StartContinuousProcessing.GLESCaptureSession.SingleRunAsynchas been renamed toGLESCaptureSession.ProcessSingleFrameAsync.
Full Changelog: 4.0.0-preview.1...4.0.0-preview.2
UXR.QuestCamera v4.0.0 Preview 1
UXR.QuestCamera v4.0.0 is a rewrite of the package with lots of breaking changes. Please see the reference manual for the new API. Documentation and samples are still a WIP.
Full Changelog: 3.1.3...4.0.0-preview.1
UXR.QuestCamera v3.1.3
What's Changed
- Capture sessions are now closed right after repeating requests are ended.
- Increased latch and semaphore wait timeouts to 5 seconds each for capture session wrappers to prevent
RejectedExecutionExceptioncrashes. - Updated native dependencies.
PRs
- UXR.QuestCamera v3.1.3 by @Uralstech in #12
Full Changelog: 3.1.2...3.1.3
UXR.QuestCamera v3.1.3 Preview 1
What's Changed
- Capture sessions are now closed right after repeating requests are ended.
- Increased latch and semaphore wait timeouts to 5 seconds each for capture session wrappers to prevent
RejectedExecutionExceptioncrashes. - Updated native dependencies.
Full Changelog: 3.1.2...3.1.3-preview.1
UXR.QuestCamera v3.1.2
What's Changed
- Added
UNITY_6000_0_OR_NEWERguards to methods that useWaitTimeoutModeto restore Unity 2022 compatability. - Added dispose checks to
YUVToRGBAConverter.CPUDepthFramemethods.
PRs
- v3.1.2 by @Uralstech in #11
Full Changelog: 3.1.1...3.1.2
UXR.QuestCamera v3.1.1
What's Changed
This release contains fixes for a frequent crash caused by YUVToRGBAConverter on Horizon OS v83 PTC. Please refer to the reference documentation of updated code to know what's changed in detail.
Breaking Changes
ContinuousCaptureSession.OnFrameReadyis now of typeAction<IntPtr, long, IntPtr, IntPtr, long, int, int, int, long>?.YUVToRGBAConverter.CopyArrayToComputeBuffer(byte[], ComputeBuffer)has been removed. Its functionality is now handled byYUVToRGBAConverter.CPUDepthFrame.YUVToRGBAConverter.OnFrameReadyhas been updated to matchContinuousCaptureSession.OnFrameReady.YUVToRGBAConverter.PrepareDataForComputeBuffer(...)now has the following signature:Task PrepareDataForComputeBuffer(CPUDepthFrame, int, int, int, long)
PRs
- UXR.QuestCamera v3.1.1 by @Uralstech in #9
Full Changelog: 3.1.0...3.1.1
UXR.QuestCamera v3.1.1 Preview 1
What's Changed?
This release contains fixes for a frequent crash caused by YUVToRGBAConverter on Horizon OS v83 PTC. Please refer to the reference documentation of updated code to know what's changed in detail.
Breaking Changes
ContinuousCaptureSession.OnFrameReadyis now of typeAction<IntPtr, long, IntPtr, IntPtr, long, int, int, int, long>?.YUVToRGBAConverter.CopyArrayToComputeBuffer(byte[], ComputeBuffer)has been removed. Its functionality is now handled byYUVToRGBAConverter.CPUDepthFrame.YUVToRGBAConverter.OnFrameReadyhas been updated to matchContinuousCaptureSession.OnFrameReady.YUVToRGBAConverter.PrepareDataForComputeBuffer(...)now has the following signature:Task PrepareDataForComputeBuffer(CPUDepthFrame, int, int, int, long)
Full Changelog: 3.1.0...3.1.1-preview.1
UXR.QuestCamera v3.1.0
What's Changed
UXR.QuestCamera v3 includes a lot of critical improvements to the package and is a soft rewrite. This section will not contain breaking changes in the API. Please see the migration guide for the breaking changes.
Breaking Changes
CameraDevice.WaitForInitializationAsync()now returnsTask<bool>representing the open state of the device.ContinuousCaptureSession.WaitForInitializationAsync()now returnsTask<bool>representing the open state of the session.SurfaceTextureCaptureSession.WaitForInitializationAsync()now returnsTask<bool>representing the open state of the session.OnDemandSurfaceTextureCaptureSession.RequestCaptureAsync()now returnsTask<(Texture2D?, long)>.OnSessionClosedis now called ifonSessionConfigurationFailedis received withisAccessOrSecurityError= false for all capture session types.
Added
- New
GetNextFrameAsyncmethod inYUVToRGBAConverter. - New timeout-included variants for all
WaitUntil-returning methods. - More yield extensions for tasks.
Removed
- All editor scripts.
Fixed
- Potential deadlocks in some dispose calls.
PRs
- UXR.QuestCamera v3.1.0 by @Uralstech in #8
Full Changelog: 3.0.0...3.1.0
UXR.QuestCamera v3.0.0
What's Changed
UXR.QuestCamera v3 includes a lot of critical improvements to the package and is a soft rewrite. This section will not contain breaking changes in the API. Please see the migration guide for the breaking changes.
- Fixed a lot of crashes and stutters.
- Converted all
MonoBehaviours other thanUCameraManagerinto direct proxies for the native plugin, with better and standardized disposal interfaces usingIDisposableandIAsyncDisposableimplementations. - The native C++ parts of the
SurfaceTexturebased capture sessions have been completed rewritten. - Added optoinal
CancellationTokenparams for most async methods.
PRs
- UXR.QuestCamera v3.0.0 by @Uralstech in #7
Full Changelog: 2.6.1...3.0.0
UXR.QuestCamera v3.0.0 Preview 4
v3 introduces a soft rewrite of the package with several breaking changes. Documentation updates are still in progress, so I recommend reviewing the full changelog and commit history to understand what’s changed.
Changes Since v3.0.0 Preview 3
- All
DisposeandDisposeAsyncmethods have been updated to no longer throw exceptions when called more than once. - Added warnings in the destructors of
CameraDevice,ContinuousCaptureSession,SurfaceTextureCaptureSessionandYUVToRGBAConverterto warn non-disposal. - The "Digit Recognition with Unity Inference Engine" sample has been updated with the new API.
Full Changelog: 3.0.0-preview.3...3.0.0-preview.4