Exception 0x800700B7 "Cannot create a file when that file already exists."
"Code pack" works properly with magnetometer on 2 of our devices, but on third tablet it produces an exception (row 698 in Sensor.cs):
System.Runtime.InteropServices.COMException: "Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)"
I'm trying to find out why it's happening or what is especially with this tablet, but not succeed yet.
Any additional info for debugging this?
I'd not been able to fix it and just did exception handling. Don't know if we even have that tablet now. I will add comment if somewhen stumble upon this bug again.
I meet a same problem at code SensorManager.GetSensorsByTypeId<AmbientLightSensor>()
Tracke the error ,find the COMException is fail at Sensor.cs SnativeISensor.SetEventSink(this) Any solution can reslove ??