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

WebGL Build and Microphone Script Issue #53

Open
JohnWhallArt opened this issue Nov 24, 2021 · 2 comments
Open

WebGL Build and Microphone Script Issue #53

JohnWhallArt opened this issue Nov 24, 2021 · 2 comments

Comments

@JohnWhallArt
Copy link

I'm struggling to build using WebGL due to the GenericAudioInput script referring to the Microphone, which WebGL doesn't support.

Example error:
Assets\ThirdParty\Reaktion\Utility\GenericAudioInput.cs(69,40): error CS0103: The name 'Microphone' does not exist in the current context

I've tried #if !UNITY WEBGL code to not use this reference, as well as deleting scripts, but both come back with further errors.

Anyone know how to resolve this?

Thanks.

@andybak
Copy link

andybak commented Nov 24, 2021

Hiya,

Firstly - it's better to use https://github.com/icosa-gallery/open-brush-toolkit for both code and reporting issues. While they are currently identical this repo will never be updated whilst the Open Brush one will be maintained going forward.

In answer to your question - I think we tackled this exact problem for exporting to Styly. See if this helps:

https://docs.openbrush.app/user-guide/exporting-open-brush-sketches-to-other-apps#styly

@JohnWhallArt
Copy link
Author

This worked brilliantly! Thanks

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

No branches or pull requests

2 participants