Open ydev0927 opened 1 year ago
Thanks for reporting the issue and sorry you are running into this. I've assigned this to a dev who can help follow up.
I've added this as a bug on our backlog and am forwarding it to our Hololens team. Thanks!
@ydev0927 In my testing, this appears to be isolated to the Unity editor. I'm not seeing these spurious pointer-up events when deploying and running on the device. Have you observed this as well?
@michaelfarnsworth Today, I checked on my device. There was no problem. This issue seems to be UnityEditor specific.
Remarks I used Unity2020.3.33f1 for checking on device as I also crash with this issue. https://github.com/MicrosoftEdge/WebView2Samples/issues/198
@ydev0927 thanks for the update. We'll follow up with the Unity team about this issue. Though, it's only in-editor, it could add some frustration to developing and debugging input issues.
Description
Executing IWithMouseEvents.MouseEvent(...) releases MRTK's PointerDown.
Version SDK: com.microsoft.mixedreality.webview.unity-0.17.1-pre.3.tgz Runtime: Unity2021.3.24 (Run on Editor) Framework: Unity2021.3.24, MRTK2.8.3 OS: Windows10 22H2
Regression Was this working before but has regressed? > No. If yes, what version did this last work on?
Repro Steps
public class Sample : MonoBehaviour, IMixedRealityPointerHandler { private IWebView webView;
}
OnPointerDown Dragged OnPointerUp
(webView as IWithMouseEvents).MouseEvent(mouseEvent);