Apple RealityKit & AVFoundation - Can't play mp3

Hi I was creating a 2D start page with a button with SwiftUI, on a normal SwiftUI the page will play the music but when I migrated the code to RealityKit, the page could load the UI but could not play the music.

I seek help on this issue. How to play mp3 environment music on a starting page before going into the AR scene?

Apple RealityKit & AVFoundation - Can't play mp3
 
 
Q