bkeiren / AwesomiumUnity

Third-party Awesomium wrapper for Unity3D, wrapping Awesomium's C++ API with a custom C# API and accompanying Unity MonoBehaviour components.
108 stars 74 forks source link

Universal Windows Apps #16

Open Gregory-Harris opened 7 years ago

Gregory-Harris commented 7 years ago

Hi,

have you tested this with a UWA? I'm seeing Win32 errors occuring when I try and execute and the texture remains blank.

You can test yourself in 5 minutes:

I followed the basic instructions you provided using a basic Plane and attached the WebRenderer and WebCore scripts. This works fine in the Unity Editor.

Change platform to Windows Store and set to Windows Universal 10 / Any Device / D3D / Local Machine. Build and open generated project in VS2015. Build works fine but trying to run / debug results in an Unhandled Win32 exception occured.

After manually attaching the UnityPlayer_UAP_x86_debug_dotnet.pdb and rerunning it appears to be dying in win32threads.cpp (Stack trace belpw):

stacktrace


Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention

Event Log Data:

Faulting application name: WebBrowser.exe, version: 0.0.0.0, time stamp: 0x56c6997e Faulting module name: UnityPlayer.dll, version: 5.5.0.0, time stamp: 0x58371462 Exception code: 0x4000001f Fault offset: 0x03d2a65c Faulting process id: 0x367c Faulting application start time: 0x01d26c57a96aca07 Faulting application path: C:\Dev\Hololens\Testing\WebBrowser\WindowsUniversalApp\WebBrowser\bin\x86\Debug\AppX\WebBrowser.exe Faulting module path: C:\Dev\Hololens\Testing\WebBrowser\WindowsUniversalApp\WebBrowser\bin\x86\Debug\AppX\UnityPlayer.dll Report Id: 04632150-9880-42d8-94c7-8feaaae43de4 Faulting package full name: WebBrowser_1.0.0.0_x86__pzq3xp76mxafg Faulting package-relative application ID: App

Thank You,

Greg