wrmhl
wrmhl copied to clipboard
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object wrmhlThread.writeThread (System.String dataToSend) (at Assets/WRMHL/Scripts/Thread/Common/wrmhlThread.cs:106) wrmhl.send (System.String dataToSend) (at Assets/WRMHL/Scripts/Manager/wrmhl.cs:70) wrmhlWrite.Update () (at Assets/WRMHL/Scripts/wrmhlWrite.cs:34)
The issue for me was that the COM port set in the wrmhlWrite script was wrong. Try manually changing it to the port your Arduino is on.