-
Notifications
You must be signed in to change notification settings - Fork 55
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
Crash when using Resize #3653
Comments
@ydev0927 Sorry you are hitting this issue. Do you have a crash dump or stack trace for when this crash happens? Looks like the "Resize" function is part of the Unity plugin - @michaelfarnsworth |
@ydev0927 the resizing issues should be addressed with the latest version of the plugin. Please, try version 0.17.1-pre.5 when you have a chance. |
@michaelfarnsworth Trying with 0.17.1-pre.5 solved the problem. thank you. remarks |
Is there a public changelog for the com.microsoft.mixedreality.webview.unity plugin? |
As the issue is solved on latest Unity plugin, I will close this issue. For the public changelog redirecting to @michaelfarnsworth for answer. :) |
It is not sovled with the current version. Using 0.17.1-pre.5. The UWP app still crashes when using IWebView.Resize(x,y) as previously described. Tested with Unity versions: 2022.3.7f1, 2021.3.29f1 Crashes always occur when calling this:
|
@ArDevKarl can you run the sample under the Visual Studio debugger to see what exception is being thrown? |
I need to correct myselft here. Just found out, that Resize is not the cause of the crash. The problem is, that the application crashes, when I try to instantiate a WebView as a child and/or with localScale zero. I'll open another threat for this issue. Resize works as intended. |
Description
Crash when using Resize
Version
SDK: com.microsoft.mixedreality.webview.unity-0.17.1-pre.3.tgz
Runtime: Unity2020.3.33
Framework: Unity2020.3.33, MRTK2.8.3
OS: (Hololens2) 22621.1120.arm64fre.ni_release_svc_sydney_rel_prod.230707-1012
Regression
Was this working before but has regressed? >No.
If yes, what version did this last work on?
Repro Steps
https://github.com/MicrosoftEdge/WebView2Samples/
https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/HoloLens2_GettingStarted/HoloLens2GetStartedApp
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: