Description
It sometimes throws exception (AggregatedException whose inner exception is IndexOutOfRangeException) when I call CanvasBitmap.LoadAsync
method.
It works on .NET 8.0, .NET 9.0, until .NET 10 Preview 6. But, with .NET 10 Preview 7 (Includes .NET 10 RC1) It doesn't work properly.
Reproduction Steps
Call CanvasBitmap.LoadAsync
method of Win2D.
Expected behavior
It doesn't throw exception on proper image.
Actual behavior
It sometimes throw exception.
Regression?
Yes. .NET 8.0, 9.0, 10.0 Preview 6 works. But, After Preview 7, it is broken. (Also RC1 too)
Known Workarounds
No response
Configuration
.NET 10 Preview 1
Windows 11 24H2
x64
Other information
No response