-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on startup (windows, Avalonia update) #137
Comments
This is a known issue currently. It doesn't have anything to do with your beat saber version, so don't worry about that. Basically, ever since I upgraded QuestPatcher to Avalonia 11, these crashes happen for some people. Worse, they don't seem to log a critical error when they happen, making it almost impossible to debug. |
For those who have a similar problem, I was able to use the Mac version with no problem despite finding the windows version to be broken with my headset. I imagine the linux version might also work, though it didn't work when I tried to use it via WSL - but I didn't try very hard to make it work since my mac worked first try. |
I'm experiencing the same issue, but QP wrote the below to the log file:
It seems to be looking for adb.exe in another program I have installed (touch portal). Not sure why. The program ran in Windows Sandbox without issue, though I couldn't get it to connect to the quest. Edit: After uninstalling TouchPortal, this line shows:
|
All this looks like intended behaviour (other than the crash). QP tries to use existing ADB daemons if one exists, as this helps compatibility with other programs. |
I've managed to narrow down the issue to a potential bug in Avalonia's accessibility features, or maybe the Windows libraries it communicates with. This matches up with the fact that accessibility support was added to Avalonia in v11, and the issue was not present before the upgrade to v11. |
@ideasculptor and @camdan-me, if you're still around, it would be very helpful if you could do some testing for me? I can send you some programs that are intended to create a minimum reproducible example to send to Avalonia, see if I can get this fixed. |
@Lauriethefish if needed I've the same error :) |
@grego31430 Great! If you could get a crash dump using the following steps, that would be great. (it would be useful if anybody experiencing this problem can carry out these steps)
|
Also, to anybody that is not having this bug, it would be very helpful if you could tell me the If you are having this bug, but don't want to get a full crash dump, you could also perform the above steps ^^^, they would be useful information. |
Windows 11 23H2 22635.2915 |
Here it is :) For information the UIAutomationCore.dll : PS : I have made an new user on my computer and it's work it 🤣 |
I have an older Mac (10.12.6) and when opening also get a crash, and system crash report from QuestPatcher. I'm going to try my newer Mac, but if the log would be helpful I'll provide it. |
I don't have the crash but here is the info for my |
Hey @anastasty, this is a windows specific bug so it would be great if you could open your own issue. I've modified the title to clarify. |
I'm around and willing to help try to nail the problem down. |
Is there an older version of questlauncher available that doesn't have this issue, or can it be rebuilt with an older version of Avalonia? |
@k9rdu You can try version 2.6.0. NB you're missing some key fixes, including automatic granting of external storage permissions. These can be manually granted by running |
This is for my son he's running Windows 10 with a quest 3 I will have him
try this afternoon and let you know how it goes.
…On Mon, Jan 15, 2024, 1:36 PM Lauriethefish ***@***.***> wrote:
@k9rdu <https://github.com/k9rdu> You can try version 2.6.0
<https://github.com/Lauriethefish/QuestPatcher/tree/2.6.0>. NB you're
missing some key fixes, including automatic granting of external storage
permissions. These can be manually granted by running adb shell pm grant
com.beatgames.beatsaber android.permission.MODIFY_EXTERNAL_STORAGE
manually, e.g. with SideQuest.
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXMZGZTVMP4XXAJ762V6NNLYOVZJVAVCNFSM6AAAAAA7PFP2L6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGYZDQOJUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
2.5 worked ( well as far as getting the app loaded. there's some flakiness with modules but that's probably our fault). |
Yes exactly. We'll give it another try tonight or tomorrow with 2.6.0.
Thank you
…On Mon, Jan 15, 2024, 4:32 PM Lauriethefish ***@***.***> wrote:
@k9rdu <https://github.com/k9rdu> Sorry, gave you the wrong link, if you
want 2.6.0, the link is here
<https://github.com/Lauriethefish/QuestPatcher/releases/download/2.6.0/QuestPatcher-windows.exe>
for the windows installer.
2.5.0 might have patched your app, however it uses an outdated modloader
that won't load mods properly with quest 3. Is this the flakiness you're
referring to?
—
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXMZGZRARO46FASZBYKHJJTYOWOABAVCNFSM6AAAAAA7PFP2L6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG44DKOJXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hello i have an issue with launching QuestPatcher. QuestPatcher.Core.AdbException: chmod: chmod '/sdcard/Android/data/com.beatgames.beatsaber/files/mods/' to 0777: Operation not permitted at QuestPatcher.Core.AndroidDebugBridge.RunCommand(String command, Int32[] allowedExitCodes) in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\AndroidDebugBridge.cs:line 149 |
i already launch it before and installed some mods, but when i closed QuestPatcher and tried to open again it says this error |
I Got a critical error how do i fix that |
I take it this thing is dead. |
QuestPatcher is not dead. Funnily enough, I don't get paid to do this, and free time comes and goes. I will write back with some suggestions in a little while. |
Hello! Sorry, I'm having the same issue as the original post. Ignore the last chap - I really appreciate all the work you've put in - but I'm freaking out a little because I'm not sure what to do now? |
This particular problem can nearly always be fixed by running the app as administrator :) If you are getting an unhandled load error, it would be best if you could copy the contents of the error message to that issue so I can look at it and figure out what the actual problem is. |
Hey, i see you responded 3 days ago that this issue could typically be resolved by running as admin. I have run the installer as well as the application as administrator and am still running into the border-outline then crash issue. Update: |
QuestPatcher.Core.AdbException: [ 0%] /data/app/~~BWZIKSEae7NhAXLdUcmzoA==/com.beatgames.beatsaber-aX44ues3S6H2NwoqEg8UbQ==/base.apk at QuestPatcher.Core.AndroidDebugBridge.RunCommand(String command, Int32[] allowedExitCodes) in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\AndroidDebugBridge.cs:line 150 Unloading error no version opens on win 11 but 2.60 then when u do get it open this mess happens |
Done copied pasted. |
Loading app ID from legacy appId.txt Platform-tools already installed at QuestPatcher.DebugBridge.RunCommandAsync(String command) in D:\a\QuestPatcher\QuestPatcher\src\DebugBridge.cs:line 87 why us this the only way to mod beat saber! So frazzled now installed every version none work im going back to the oldest beat saber that supports the easy BMBF way cause this app is frustrating especially for a disable user. |
@Fairy1234556789 Hey, looking at your logs. Your issue is not related to the avalonia crash on start issue. I see in the logs it has the error Also, going back to an older version of Beat Saber won't help. As long as you are using the newer version firmware or Quest 3, BMBF will not work. |
Only have one port on this steam deck which is usb c still odd this program wont work but sidequest detects & transfers with no issues. Yea found that bmbf doesnt work thats fine im done with meta beat saber moving to pc beat saber. This steam deck is on win 11 & been able to handle other vr games. Pc beat saber easy to mod unlike meta quest version. I just wanted custom songs as I hate the remix & version in the app... |
@Fairy1234556789 quite odd that other programs such as side quest can use adb with no issue but our adb instance is throwing errors. |
QuestPatcher.exe_240429_173324.dmp |
Has it been fixed. Currently trying right now and it looks like i have the same issue. Quest patcher will boot up quest i'm unlinked, however the moment i link, it will crash. |
This issue turned out to be caused by QuestPatcher using trimming in the build process. Trimming is not supported by COM interop in .NET and therefore QuestPatcher would crash when any UI automation related apps were open, including stuff like magnifier or any screenreader. This is why is only happened occasionally - it only happens to people who use UI automation. The build with the fix will soon be released. |
In the meantime, anybody experiencing this issue can download a fixed build here |
When I launch the app with Oculus app running and quest3 linked (via cable), the app starts up, displays the border of a window, and then goes away - leaving no log or any other information. If I kill the oculus app, the app starts up and the contents of the window are displayed, but then it complains about the quest3 not being connected. I've rebooted all of the things to no avail. Headset is up to date. beat saber apk is downgraded to the correct apk. I can't figure out how to prove which version of the pak is installed, butt when I go to the app store in the headset, it offers me an 'upgrade' button so it is clearly no longer running the most recent version, at least.
The text was updated successfully, but these errors were encountered: