QR-Tracking: Calling RequestAccessAsnyc in Play-Mode Causes Crash in Subsequent Runs #608
Labels
help wanted
Extra attention is needed
Pri3
Seeking help
Issues has been shared with relevant people for help.
triaged
Issued Assessed & solution considered
Calling
RequestAccessAsync
frommixedreality.QR
when running in the editor, for example during Holographic Remoting, causes a crash when the editor is stopped and then started again.In unity 2020.xx, crashes occur every 2-5 plays.
In unity 2021.xx crashes occur before every second play (play -> stop -> play -> crash).
chgatla-microsoft/QRTracking#46 reports this in more detail.
#326 mentions a potential fix, but didn't help in my case.
microsoft/MixedReality-QRCode-Sample#6 might be connected, as both crashes occur when tracking is restarted.
The crash occurs regardless of whether Holographic Remoting was used in the previous session. Simply calling
RequestAccessAsync
from Unity creates the necessary conditions.The text was updated successfully, but these errors were encountered: