UnityWebBrowser icon indicating copy to clipboard operation
UnityWebBrowser copied to clipboard

[Issue]: Bad performance

Open shohnwal opened this issue 1 year ago • 0 comments

What platform are you experiencing this issue on?

Windows

What architecture is your platform?

64-Bit

What version of UWB are you using?

Git Repo

What Unity version are you running?

2021.3.6f1

Describe what the issue you are experiencing is.

The performance of the browser itself seems to be abysmal, perhaps 2 fps for the entire browser field, both scrolling the window, doing keyboard inputs and playing videos. I have added a rotating cube in front of it, it spins perfectly smooth, with >150 fps (according to Unity stats). So it seems to be not unity itself, but just the browser content. The URL text bar at the top is also perfectly fine, it's just the web content itself that runs really slow. When building the project it improves somewhat to 5, perhaps 10 fps tops, which however is still not a good user experience . Is this the current state of this project or is this low fps not intended?

PC is fairly decent (Desktop, Win 10, i7-8700K @ 3.7ghz, Nvidia 1080 GTX).

Provide reproducible steps for this issue.

  1. Create new Unity Project
  2. Enable new input system + add event manager and set it to new input system
  3. Create empty scene
  4. Drag sample prefab of the web browser into the scene
  5. Start the game

Any additional info you like to provide?

No response

shohnwal avatar Oct 03 '22 17:10 shohnwal