gonchar / VisionProVacuumDemo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaks After a Few Sessions

osV22 opened this issue · comments

commented

Apologies in advance if you don't welcome issues.

After a few sessions the app breaks.
To reproduce:

  1. Launch app
  2. Click "Show Immersive Space" to begin then
  3. end session after a few seconds
  4. Repeat step 2 and 3 for more than 10 times (interestingly tried 4 times and breaks exactly at session start number 11, not sure what magic is happening after 10 sessions there)

Result:

  • Vacuum sound plays, vacuum entity model is stuck to the floor at the center position, coins no longer show.

To fix:

  • Only way to fix is to completely uninstall the app and re-install.

console dump:

  • Nothing sticks out besides the lines below between sessions which are not really related to the main bug:
  AVAudioSession_iOS.mm:2223  Server returned an error from destroySession:. Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 39 named com.apple.audio.AudioSession was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 39 named com.apple.audio.AudioSession was invalidated from this process.}

CMTime jump with no AudioService.
CMTime jump with no AudioService.

I'll keep poking on my end to see if I can fix it and send a PR but have not had luck thus far.
Cannot thank you enough for your video on twitter, learned a ton!