What platform are you experiencing this issue on?
MacOS arm64
What version of UWB are you using?
2.2.4
What Unity version are you running?
2022.3.28f1
Describe what the issue you are experiencing is.
Hello,
I just started using UWB, and I ran into a compilation issue straight away (I develop on macOS).
It seems like there's a missing import for System.Runtime.InteropServices in WebBrowserUtils.cs. I needed to add using System.Runtime.InteropServices; to make the project compile.
Provide reproducible steps for this issue.
- Install UnityWebBrowser in a project running on macOS
- Observe the following compilation errors:
Library/PackageCache/[email protected]/Runtime/Helper/WebBrowserUtils.cs(150,20): error CS0103: The name 'RuntimeInformation' does not exist in the current context
Library/PackageCache/[email protected]/Runtime/Helper/WebBrowserUtils.cs(150,62): error CS0103: The name 'Architecture' does not exist in the current context
Any additional info you like to provide?
No response
What platform are you experiencing this issue on?
MacOS arm64
What version of UWB are you using?
2.2.4
What Unity version are you running?
2022.3.28f1
Describe what the issue you are experiencing is.
Hello,
I just started using UWB, and I ran into a compilation issue straight away (I develop on macOS).
It seems like there's a missing import for
System.Runtime.InteropServicesinWebBrowserUtils.cs. I needed to addusing System.Runtime.InteropServices;to make the project compile.Provide reproducible steps for this issue.
Any additional info you like to provide?
No response