I've noticed that every once and a while I've been getting popups saying that Oculess keeps crashing, and the audio accessibility service gets killed by the system.
I've worked out the source of this - occasionally PackageManager fetches PackageInfo objects but then fails to retrieve their packageName. I'm not sure what causes this, but it would sometimes happen enough for the OS to kill Oculess for throwing too many errors.
Properly fixing this would require the package list to be refreshed constantly which would cause a performance hit, but surrounding calls in try/catch stops the service from being killed and any issues should be basically unnoticeable.
I just pushed this workaround to main, but I'm gonna let Basti build it with their key whenever they have time so people can update in place. I'm just documenting it here as a known issue.
I've noticed that every once and a while I've been getting popups saying that Oculess keeps crashing, and the audio accessibility service gets killed by the system.
I've worked out the source of this - occasionally PackageManager fetches PackageInfo objects but then fails to retrieve their packageName. I'm not sure what causes this, but it would sometimes happen enough for the OS to kill Oculess for throwing too many errors.
Properly fixing this would require the package list to be refreshed constantly which would cause a performance hit, but surrounding calls in try/catch stops the service from being killed and any issues should be basically unnoticeable.
I just pushed this workaround to main, but I'm gonna let Basti build it with their key whenever they have time so people can update in place. I'm just documenting it here as a known issue.