# \#realitykit

**URL:** https://forums.swift.org/tag/realitykit/1072.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Swift test + RealityKit custom component decode mismatch (has == true, typed decode == nil) — minimal repro](https://forums.swift.org/t/swift-test-realitykit-custom-component-decode-mismatch-has-true-typed-decode-nil-minimal-repro/84937)

<div class="topic-metadata">

**Author:** [@mesqueeb](https://forums.swift.org/u/mesqueeb)\
**Replies:** 5\
**Last updated:** [September 19, 2026, 7:17pm UTC](https://forums.swift.org/t/swift-test-realitykit-custom-component-decode-mismatch-has-true-typed-decode-nil-minimal-repro/84937 "2026-09-19T19:17:37Z")

</div>

Hi all, I’m seeing what looks like a mismatch specifically when running tests via SwiftPM CLI (swift test), and I’m not sure whether this should be tracked as SwiftPM, Swift Testing, or RealityKit. I made a minimal rep…

---

## [RealityAudio: A 1-line wrapper for RealityKit Spatial Audio & LiDAR Occlusion](https://forums.swift.org/t/realityaudio-a-1-line-wrapper-for-realitykit-spatial-audio-lidar-occlusion/88301)

<div class="topic-metadata">

**Author:** [@bhanage-viraj](https://forums.swift.org/u/bhanage-viraj)\
**Replies:** 0\
**Last updated:** [July 15, 2026, 3:18am UTC](https://forums.swift.org/t/realityaudio-a-1-line-wrapper-for-realitykit-spatial-audio-lidar-occlusion/88301 "2026-07-15T03:18:51Z")

</div>

Hi everyone While building a multiplayer AR horror game recently at the Apple Developer Academy, we relied heavily on spatial audio to build tension. RealityKit's native LiDAR occlusion is incredible for this—but the bo…

---

## [Failed to load skybox \`EnvironmentResource\` inside Swift Playgrounds App](https://forums.swift.org/t/failed-to-load-skybox-environmentresource-inside-swift-playgrounds-app/86093)

<div class="topic-metadata">

**Author:** [@thinkbyte1024](https://forums.swift.org/u/thinkbyte1024)\
**Replies:** 0\
**Last updated:** [April 17, 2026, 6:18pm UTC](https://forums.swift.org/t/failed-to-load-skybox-environmentresource-inside-swift-playgrounds-app/86093 "2026-04-17T18:18:14Z")

</div>

Hello. I've been trying to load a skybox asset using RealityKit inside the Swift Playgrounds App. Since loading a resource file using Swift Playgrounds App requires a bit of hacking inside the Package.swift file, I've m…

---

## [Behaviour of \*= seems different for Quaternions](https://forums.swift.org/t/behaviour-of-seems-different-for-quaternions/76313)

<div class="topic-metadata">

**Author:** [@mesqueeb](https://forums.swift.org/u/mesqueeb)\
**Replies:** 2\
**Last updated:** [December 1, 2024, 7:10pm UTC](https://forums.swift.org/t/behaviour-of-seems-different-for-quaternions/76313 "2024-12-01T19:10:49Z")

</div>

Quaternions require an application order of q\_existing = q\_target \* q\_existing, I'm confused as to why q\_existing \*= q\_target works as well... Since a \*= b is a = a \* b yet for quaternions it seems to be a = b \* a. T…
