[BUG] Crash using new Maui + Web template project (Net9 specific)
Description
Using the new Net9 project:
The Web App is ok, but the MAUI App crashes (Windows and Android tested):
Code
I have a test project, private, but the key is that removing this:
<SKCanvasView @ref="canvasView" id="canvasView" OnPaintSurface="PaintSurface" @onclick="OnMouseClick" @onmousemove="(args)=>OnMouseMove(args)"
style="width: 100%; height: 90%;user-select: none;" class="BG" />
All turns ok (except from no graphics output).
Expected Behavior
No difference between Web and MAUI, because Web is OK with the SKCanvasView present.
Actual Behavior
Exception:
Version of SkiaSharp
3.116.0 (Current)
Last Known Good Version of SkiaSharp
2.88.9 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
No response
Devices
No response
Relevant Screenshots
Working web app (FireWorks emulator):
Relevant Log Output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
We've found some similar issues:
- #2648 , similarity score: 82%
- #3113 , similarity score: 82%
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
Note: You can give me feedback by 👍 or 👎 this comment.
9.0.2 update did not solve this problem. Thanks for watching... 😄
Up, thanks.