-
Notifications
You must be signed in to change notification settings - Fork 542
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
[BUG] Blazor App Crashes in AOT mode with SkiaSharp.HarfBuzz in .NET 8 #3049
Comments
Does it work with SkiaSharp 3.0? |
If I update
|
I have given a try to run this in .net9 with no success. There's another error which appears even in Debug mode.
The code: https://github.com/elepner/harfbuzzsharp-wasm-aot-bug/tree/net9_bug |
This may be fixed with #3064 Can you try the nightly on the preview feed:
Let me know if this fixes it and I will push out the 3.x release. EDIT: I see my fix was in the Blazor package, so will not reach your project. I got a PR to fix it in all the WASM things. A fix for you now with the nightly will be to just install the Blazor package. I hope to have that fix merged ASAP. |
Description
The library SkiaSharp.HarfBuzz does not work at all in AOT mode with .NET 8 and 9, however everything works fine in .NET 7.
Code
The github repo with minimal project to reproduce:
https://github.com/elepner/harfbuzzsharp-wasm-aot-bug/tree/report_bug
Publish the project
dotnet publish -c Release -o wasm-output
navigate to the output folder
wasm-output/wwwroot
and start any http-server.Expected Behavior
The app should not crash.
Actual Behavior
No response
Version of SkiaSharp
2.88.8 (Current)
Last Known Good Version of SkiaSharp
2.88.7 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Other (Please indicate in the description)
Platform / Operating System Version
Blazor
Devices
Google chrome
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: