- Home /
Accessing Bluetooth Serial Device - Windows 10
Unity3D's SerialPort class does not see the serial ports Windows enumerates for paired Bluetooth serial devices as valid. It throws the error no port available.
When I try to access a real physical serial port, Unity3D locks up generally, though I've seen it work for some reason a few times. Not sure what the secret is to get that to work.
So I need a solution. Unity does not seem to use equivalents to Windows.Networking.Sockets nor Windows.Devices.Bluetooth.Rfcomm; in order to make use of the more common ways of getting at these devices.
Need a way forward.
Answer by asoard · Apr 27, 2016 at 09:38 AM
I was working on this tonight and got it working. First make sure that in your player settings you are using mono2.0 not mono2.0 subset. You also need to make sure the serial port for your bluetooth device is less than com10 or need to prepend the port name like in this post link text
Your answer
Follow this Question
Related Questions
Seemingly Random Unity lock-ups (not responding) with 0% CPU Usage 3 Answers
Reading Serial data in Unity from Android app 2 Answers
Problems accessing Bluetooth data sent over a serial port 1 Answer
Mobil App crashes with Windows 10 0 Answers
Windows Standalone crashing silently during scene switching 2 Answers