-
Notifications
You must be signed in to change notification settings - Fork 36
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
Don't work with Unity - NullReferenceException #36
Comments
According to the information in Wikipedia, Unity uses the Mono framework for scripting. MediaDevices does not support Mono because Mono has no COM support and MediaDevices is a wrapper for the Windows MTP COM interface. |
All right, thanks for your answer. I'll try to find another way. |
According to my information, Mono can call methods in DLLs. I.e. if you pack the COM access into your own DLL and then call it from Unity, it should work. |
That's what I wanted to try to do but I'm still looking for another way to implement it directly in a unity script without having to code my dll . |
I need to retrieve the path to my phone from the computer to copy/paste backup files to it.
After adding the nuget package to unity, it can't find my devices.
So I have this error:
A possible solution... that you know ?
The text was updated successfully, but these errors were encountered: