UnityWebRequestMultimedia not working

In our application we have mp3 file that are installed locally on the device, from a remote location, this part work the file get copied in our app persistent folder. The issue happen when we try to load these file to play them in the headset, we use the standard solution with UnityWebRequestMultimedia.GetAudioClip, we give it url to our local folder, it fail with error -1004, can’t connect to remote host. This code work on Windows.
I tried to add all the Allow under the ATS Setting in the Plist and it still fail.

We double checked the url is good the file is at this location.

Is it a feature not yet supported on Visionos?

Thanks

ok found the issue … I simply put the path into a Uri and it started to work -_-

1 Like