kyrahabattoir / ToyWebBridge

A simple web bridge for https://buttplug.io/
Other
17 stars 3 forks source link

Problem connecting to a toy #1

Closed Junelicious closed 3 years ago

Junelicious commented 3 years ago

Not sure what's the problem but seem to catch this whenever my toy (MagicMotion Solstice) is available for connection.

info: ToyWebBridge.Services.WebsocketService[0]
      Scanning for devices...
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at ToyWebBridge.Services.DeviceRegister.OnDeviceAdded(ButtplugClientDevice device) in D:\Downloads\ToyWebBridge-master\Services\DeviceRegister.cs:line 49
   at ToyWebBridge.Services.WebsocketService.<StartAsync>b__10_0(Object source, DeviceAddedEventArgs args) in D:\Downloads\ToyWebBridge-master\Services\WebsocketService.cs:line 47
   at Buttplug.ButtplugClient.SorterCallback(UIntPtr buf, Int32 buf_length)
kyrahabattoir commented 3 years ago

Thanks for the report, I'll look into it.