Open rdeusser opened 5 months ago
We need a proper minimal repro to even try to help with this issue. We don't have dev capacity to investigate Ryujinx source code and repro this issue with a dumped (legitimately) game images.
I can at least provide a stack trace for this issue for now, since a person with this issue uploaded a log in our support channels.
I'm currently investigating this myself, so I'll follow up if I figure out more about this issue.
I feel like the error message should maybe include that Handle
is a null pointer?
https://github.com/AvaloniaUI/Avalonia/blob/76a1c70758884abcebc9e3665aa08290a841efa4/src/Windows/Avalonia.Win32/Win32NativeControlHost.cs#L98-L99
Since CreateWindowExW sets an error code, it would be nice if the exceptions could also include it with the associated error message.
See Marshal.GetLastPInvokeError() and Marshal.GetLastPInvokeErrorMessage()
@TSRBerry maybe you can file a PR to improve the error message as you seem to know where to do it
@TSRBerry you are most likely missing app.manifest file, as it's mentioned in the error message.
In this case, can't help much. GetLastPInvokeErrorMessage can be an inner exception, yes.
Describe the bug
Basically #8609, except the solution already exists in the project. I’m using Ryujinx and I only get this exception when I enable mods. It’s confusing because it seems like the issue in #8609 has a singular cause, but it appears there’s other ways to make it crop up. Is there a definitive cause for this exception? The stacktrace is incredibly unhelpful because it doesn’t show me anything in Ryujinx outside of ‘BuildAvaloniaApp’. I can post a stacktrace later. I’m on mobile at the moment.
To Reproduce
Expected behavior
Potentially a crash that has nothing to do with Avalonia, otherwise a working game.
Avalonia version
11.0.10
OS
Windows
Additional context
I’ll add more here later when I can get back to my computer.