Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0b10
Issue ID
887036
Regression
No
IL2CPP cannot marshal System.Uri in Windows Runtime scenarios.
When we use UWP's WebView class we get a marshalling exception.
System.Runtime.InteropServices.MarshalDirectiveException: Cannot marshal type 'System.Uri'.
at Windows.UI.Xaml.Controls.WebView.Navigate (System.Uri source) [0x00000] in <00000000000000000000000000000000>:0
at WSAUnity.Plugins.ShowWebView (System.Double x, System.Double y, System.Double width, System.Double height, System.String url, System.Action`1[T] callback) [0x00000] in <00000000000000000000000000000000>:0
at Webview.<Start>b__2_0 () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.WSA.AppCallbackItem.Invoke () [0x00000] in <00000000000000000000000000000000>:0
Forum thread: https://forum.unity3d.com/threads/uwp-il2cpp-and-xaml-controls.457862/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment