MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Got ProcessFailed on CoreWebView2 when fixed runtime is installed in a folder with Chinese characters
@LiangTheDev is already working on this.
Since May 5, 2022.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I believe I found a bug with webview2 loaded from a fixed version which is installed in a folder with Chinese characters. In my case, I have the fixed runtime folder installed at C:\WebView\Microsoft.WebView2.FixedVersionRuntime測試員.
The calls for CoreWebView2Environment.CreateAsync and EnsureCoreWebView2Async both seem to be successful, but my page can't be loaded with the error of process failed (reason: crash) as shown in the screenshot below.
Any ideas if this is a known issue?
Thanks!
string path = @"C:\WebView\Microsoft.WebView2.FixedVersionRuntime測試員";
var env2 = await CoreWebView2Environment.CreateAsync(path, "c:\\test2");
Task task = webView.EnsureCoreWebView2Async(env2);
await task;
if (webView.CoreWebView2 != null)
webView.CoreWebView2.ProcessFailed += CoreWebView2_ProcessFailed;

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.