Skip to content

Instantly share code, notes, and snippets.

@tomkrikorian
Last active July 23, 2024 19:13
Show Gist options
  • Select an option

  • Save tomkrikorian/21d2c1cab91cc1b2e5f086ccfe0f8fd7 to your computer and use it in GitHub Desktop.

Select an option

Save tomkrikorian/21d2c1cab91cc1b2e5f086ccfe0f8fd7 to your computer and use it in GitHub Desktop.
Changelog visionOS 2 Beta 4

visionOS 2 Beta 4 Changelog

New Features / New Issues

ARKit

  • The client app might crash and object tracking might cease to function if a reference object with an outdated format is supplied. The client app might also crash if an app runs multiple ARKitSessions that either request to run with more than 10 reference objects in total between them or request to run with different TrackingConfiguration parameters configured. (131629145)
    • Workaround: Ensure that reference objects are trained on macOS Sequoia Beta 2 or higher. Do not run with multiple ARKitSessions in one app requesting either more than 10 reference objects total or different TrackingConfiguration parameter values.

Foundation

  • JSONEncoder.OutputFormatting.sortedKeys will now sort keys with a different ordering. Previously, keys were sorted using a numeric, case-insensitive, or localized ordering. Beginning in beta 4, keys are sorted lexicographically based on the keys' UTF-8 contents. (126874437)

Mail

  • Known Issues: The Mail badge count might not update until Mail is launched. (129914323)

Mobile Device Management

  • The MDM payload for Global Proxy might result in a loss of internet connectivity if the credentials in the Global HTTP Proxy payload are missing or need to be updated. See Global HTTP Proxy. (131416507)

Multiview

  • Known Issues: When a video is added into the multiview, the window briefly flickers with a black frame. (131616301)

Platform

  • The firmware image for iBoot will be made available in cleartext in the PCC image. To reduce the overhead imposed by firmware encryption and align policies where appropriate, firmware encryption has been disabled for iBoot on iOS, macOS, watchOS, tvOS, and visionOS. See Private Cloud Compute for more details. (125171074)

SwiftUI

  • New Features: Nesting a TabSection within a TabSection is supported in the .sidebarAdaptable TabViewStyle on iPadOS and visionOS. (128237671)
  • Deprecations: The TabContent popover modifier is now unavailable on visionOS. (131408356)

WebXR

  • Known Issues: Immersive WebXR content might fail to render on the visionOS simulator. (132107276)

Resolved Issues

Audio

  • Fixed: After each reboot of the device, reverb will not adapt to the room and default to a reverb that is equivalent to a small non-reflective space. This reverb state will persist until the user speaks for a few seconds. Once speech is detected, the reverb will adapt to simulate the space. Developers mixing audio should execute workaround to update reverb. (130243264)

RealityKit

  • Fixed: Updates to LowLevelMesh and LowLevelTexture might appear out-of-sync relative to changes made to Entities in the same frame. (117234258)
  • Fixed: In visionOS 1.0, UnlitMaterials' blending modes inconsistently respond to .blending, .color, and .baseColor setters. In applications building against RealityKit from visionOS 2.0, alpha-blending enablement should be configured explicitly with .blending = .transparent(opacity:). Developers are advised to check that their code-configured materials are alpha-blending as intended, and use the .blending setting where appropriate. (118210191)
  • Fixed: Converting to or from the .scene coordinate space using convert(_:from:to:) functions ignores the position of the RealityView in the SwiftUI Scene. (125052393)
  • Fixed: In visionOS 1.0, transparent materials' apparent final opacities respond inconsistently to .blending, .color, and .baseColor setters. In applications building against RealityKit from visionOS 2.0, the final opacity of transparent materials is computed as a multiplication of its .color or .baseColor's alpha and .blending = .transparent(opacity:). Developers are advised to check that their code-configured transparent materials render with the intended final opacities, and update their usages of .color, .baseColor and/or .blending = .transparent(opacity:) when necessary. (125431647)
  • Fixed: Video light spill might flicker after docking video, and reflection/specular light spill might appear to pop before video. (128226179)

StoreKit

  • Fixed: Selecting Done in the refund request confirmation sheet returns an error when using the refund request API with StoreKit Testing in Xcode. (123865137)
  • The requestReview environment variable is now compatible with Swift 6. (129929512) (FB13922875)

SwiftUI

  • Fixed: In the Swift 6 language mode, the @Entry macro now works with non-Sendable types if the type of the entry is declared explicitly. (129073803)

Travel Mode

  • Fixed: Travel Mode Hint and On/Off Notifications copy are not localized. Copy will be displayed in English. Never use Apple Vision Pro while operating a moving vehicle or when attention to safety is required. (130987053)

UIKit

  • Fixed: If UIAlertController is reused, the alert might not get dismissed when presented a second time. No changes are necessary if any of the SwiftUI alert methods are used. (129718567)

Known Issues

RealityKit

  • Negative damping values are not automatically set to zero, which might cause instability in physics animations. (131167971)
    • Workaround: To prevent instability in physics animation, ensure apps do not use unnatural negative damping values.
  • Calling TextureResource(cubeFromEquirectangular:) might cause runtime assertion failure. (131197201)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment