microsoft / microsoft/microsoft-ui-xaml
WebView2 does not render any URLs on ARM64 (Release)
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
Hi,
When I build my WinUI 3 application targeting `arm64` using the `win-arm64` build profile in `Release mode`, the `WebView2` control does not render any content (no URLs are displayed).
Settings / Versions being used:
- TargetFramework : net9.0-windows10.0.26100.0
- WindowsAppSDK : 10.0.26100.57
- WinUI3 : 1.6.250228001
However, the same application works as expected on other architectures such as both win-x64 and win-x86 (Debug & Release) and win-arm64 (**only on Debug mode**).
### Why is this important?
WebView2 only works on :
- win-x64 (Debug / Release)
- win-x86 (Debug / Release)
- win-arm64 (**Only Debug**)
### Steps to reproduce the bug
```cs
WebView2 chatWebView = new WebView2
{
Source = new Uri("URL_TO_BE_RENDERED"),
HorizontalAlignment = HorizontalAlignment.Stretch,
VerticalAlignment = VerticalAlignment.Stretch
};
```
### Actual behavior
_No response_
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
- TargetFramework : net9.0-windows10.0.26100.0
- WindowsAppSDK : 10.0.26100.57
- WinUI3 : 1.6.250228001
### Windows version
Windows 11 (24H2): Build 26100
### Additional context
_No response_
Contributor guide
Research direction
Start with the supplied WebView2 reproduction and compare win-arm64 Release with Debug and the working x64/x86 builds using the listed WindowsAppSDK, WinUI 3, and Windows versions. Done means the cause is narrowed to a project area or dependency and a verified fix or actionable finding restores URL rendering for win-arm64 Release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100