Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a plan to support VisionOS? #287

Open
cracker999999 opened this issue Apr 30, 2024 · 9 comments
Open

Is there a plan to support VisionOS? #287

cracker999999 opened this issue Apr 30, 2024 · 9 comments

Comments

@cracker999999
Copy link

No description provided.

@martindevans
Copy link
Member

At the moment no this isn't planned.

@Dioinecail
Copy link

So far i think the only thing that breaks is the opus library since it's obviously missing.
Is it possible to just add it and try testing it?
We're developing an app that relies on Dissonance for audio and we're entering final stages of development so it would be awesome if there was something we could do about it

@martindevans
Copy link
Member

You can modify the settings on the native files in Assets/Plugins/Dissonance/Plugins to specify Vision OS support if you want to try that. Either the MacOS or iOS ones might work without recompiling.

If you do need to recompile them for the new platform please email me ([email protected]) your invoice number. I'll can add you to the repo which contains the Dissonance C++ source (opus codec & audio preprocessor) and our build scripts for all the supported platforms.

@Dioinecail
Copy link

Dioinecail commented May 10, 2024

I've tested iOS libraries of opus and AudioPluginDissonance and it worked!
But i've had to manually copy and paste them from an iOS xcode project, i guess the post process for copying them is locked behind UNITY_IOS define? Because i've had to change both of those defines in external lib calls from UNITY_IOS to (UNITY_IOS || UNITY_VISIONOS)

@astaikos-hp
Copy link

I've tested iOS libraries of opus and AudioPluginDissonance and it worked! But i've had to manually copy and paste them from an iOS xcode project, i guess the post process for copying them is locked behind UNITY_IOS define? Because i've had to change both of those defines in external lib calls from UNITY_IOS to (UNITY_IOS || UNITY_VISIONOS)

@Dioinecail I have not been able to replicate your success. Can you add some more specifics as to what you had to do? Even though I see the iOS plugins in the Xcode project, when running on device I still get error that the plugins are not found.

@martindevans
Copy link
Member

If you select the files in Assets/Plugins/Dissonance/Plugins/iOS and look in the inspector, you should see the settings where you define per-platform whether or not they are copied. Does VisionOS appear there?

@astaikos-hp
Copy link

astaikos-hp commented Sep 9, 2024 via email

@astaikos-hp
Copy link

This is the error I get on the headset:

[Dissonance:Core] (15:49:42.893) DissonanceComms: Dependency Error: Unable to load DLL 'opus'. Tried the load the following dynamic libraries: Unable to load dynamic library '/opus' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen(/opus, 0x0005): tried: '/opus' (no such file)

  • Codec: [Codec: Opus, FrameSize: 1920, SampleRate: 48kHz]

@martindevans
Copy link
Member

The iOS files are not dynamic libraries at all (everything on iOS is statically linked), so that error message is interesting! Any more details on what you did @Dioinecail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants