Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Mouse input wrong in IPointerMoveHandler #990

Open
sudurov opened this issue May 9, 2024 · 1 comment
Open

[BUG]: Mouse input wrong in IPointerMoveHandler #990

sudurov opened this issue May 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sudurov
Copy link

sudurov commented May 9, 2024

Package version

3.1.0-exp.7

Environment

* OS: Windows 11
* Unity version: 2022.3.28f1
* Graphics API: DirectX11
* Browser: Chrome

Steps To Reproduce

  1. Run project from https://github.com/sudurov/UnityRenderStreamingInputBug
  2. Run WebApp
  3. In Chrome, mouse position doesn't match position in IPointerMoveHandler.OnPointerMove(PointerEventData eventData)
    image

Current Behavior

Point position doesn't math mouse cursor in web brouser.
But if open strean from mobile device, all works just fine.

Expected Behavior

Point position math mouse cursor in web brouser.

Anything else?

No response

@sudurov sudurov added the bug Something isn't working label May 9, 2024
@sudurov
Copy link
Author

sudurov commented May 9, 2024

I forgot to mention a strange thing. After opening the stream in the browser, the mouse position will not match. Then if you open the Unity Editor and click something inside the hierarchy, and then return to the browser, the mouse position will now match the point on the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants