MicrosoftEdge / MicrosoftEdge/WebView2Samples

Adding Multiple Webview in Unity

Open
#232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

When I try the sample, it works great, so I wonder how many active webview can be added in the same scene with different URLs at the same time.

Because when I add another webview with different link, seems like both webview open the same URL. I guess both webview using the same material to display webpage?

So is there a way that I can have multiple webview in unity?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Unity sample scene and reproduce the case with two webviews pointing to different URLs. Trace how each webview is created and how its displayed page is assigned; done means determining whether multiple active webviews with distinct URLs are supported and identifying the required change or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.