有嚴重報錯:
System.IO.Ports.WinSerialStream.ReportIOError (System.String optional_arg) (at <0079a30f96a047348857e1cecc6c638a>:0)
System.IO.Ports.WinSerialStream..ctor (System.String port_name, System.Int32 baud_rate, System.Int32 data_bits, System.IO.Ports.Parity parity, System.IO.Ports.StopBits sb, System.Boolean dtr_enable, System.Boolean rts_enable, System.IO.Ports.Handshake hs, System.Int32 read_timeout, System.Int32 write_timeout, System.Int32 read_buffer_size, System.Int32 write_buffer_size) (at <0079a30f96a047348857e1cecc6c638a>:0)
(wrapper remoting-invoke-with-check) System.IO.Ports.WinSerialStream..ctor(string,int,int,System.IO.Ports.Parity,System.IO.Ports.StopBits,bool,bool,System.IO.Ports.Handshake,int,int,int,int)
System.IO.Ports.SerialPort.Open () (at <0079a30f96a047348857e1cecc6c638a>:0)
就是IO口拒絕訪問。請問同時多個腳本讀一個埠是不可行的嗎?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/23876.html
標籤:Unity3D
下一篇:unity開發oculus
