UnityRenderStreaming
UnityRenderStreaming copied to clipboard
[BUG]: Mouse input wrong in IPointerMoveHandler
Package version
3.1.0-exp.7
Environment
* OS: Windows 11
* Unity version: 2022.3.28f1
* Graphics API: DirectX11
* Browser: Chrome
Steps To Reproduce
- Run project from https://github.com/sudurov/UnityRenderStreamingInputBug
- Run WebApp
- In Chrome, mouse position doesn't match position in IPointerMoveHandler.OnPointerMove(PointerEventData eventData)
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
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.