2
Answers

Windows 10 UAP - Compass.GetDefault() is sometimes null

Andrew Cooper

Andrew Cooper

8y
482
1

Working on a windows 10 UAP and need Compass data. Has been working most the time, but every now and again Compass.GetDefault() returns null and it'll keeps doing it till I reset the device.

Thought it was my device at first, but it is randomly hitting the issue when submitting to the store and failing as a result.

Any suggestions would be great. Thanks


Answers (2)