amwatson / CitraVR

Port of the leading 3DS emulator, Citra — designed for playing 3DS homebrew and personal game backups in 3D on the go with your Quest.
GNU General Public License v3.0
707 stars 61 forks source link

App occasionally crashes on quest2 v60 #63

Closed sora-blue closed 6 months ago

sora-blue commented 7 months ago

Is there an existing issue for this?

Affected Build(s)

v0.4.0+

Description of Issue

After upgraded to v0.4.0, when I tried to launch any game just after opening the app, it crashes from time to time. Though after a few more tries I could finally get into the game, it is somewhat problematic. The build from the latest commit still holds this issue.

Expected Behavior

Game launched without any issues.

Reproduction Steps

  1. Open the CitraVR app
  2. Launch any game within seconds (seems waiting for a little longer after launch or after last crash has a lower rate of getting crashed)
  3. Sometimes got crashed back to oculus home
  4. See Notification "CitraVR is running" and click
  5. Android UI blank screen pops out and exits

Log File

Logcat says it crashed because [java_vm_ext.cc:579] JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception kotlin.UninitializedPropertyAccessException: lateinit property emulationState has not been initialized (launched from android studio, built from latest commit in master branch)

Log file is short citra_log.txt

System Configuration

HMD: Oculus Quest 2, running on V60

SleepingPanda commented 4 months ago

I'm experiencing this on my Quest 3 as well. Why'd you close this issue, @sora-blue? Was it fixed?

sora-blue commented 4 months ago

I'm experiencing this on my Quest 3 as well. Why'd you close this issue, @sora-blue? Was it fixed?

@SleepingPanda I'm not sure. It seems that Watson is working on it, which you can draw from recent commit log. I'm using a modified version of 0.4.2 on v64 right now, and it works fine without reason.