Unreal Engine 4 is available for Win10 UWP app dev now

Thank you, this is a huge help. I’ve managed to get it working once, but then I dont really know what I did but it stop working. I’ve enabled bCopyCookedContentForF5Deployment, I switched to Development and UWP64 and I have my project as the startup project but visual studio says “unable to launch the previously selected debugger. Please choose another.” when trying to deploy the project. Any ideas?

My “play” in visual studio says “Start” instead of “Local Windows Debugger”. Could that be related?

I’ve had the exact same problem before but I don’t know for sure what made it work again.
It should definitely say “Local Windows Debugger”, that is the problem.
I spent quite some time looking into it and at some point it suddenly worked without changing anything so I don’t know what I did.
I thought I had my startup project set on UE4 instead of the game but it sounds like you double checked that that is not the case.
Are you sure the config is still Development UWP and not Editor or something?
Try regenerating the project files.
In case you find the solution, I’d be interested in knowing what the fix was in case it happens again.

So I manage to figure it out. If I right click on my project and go to Properties->Debugging, the “Debugger To Launch” option was “Unsupported Debugger” I clicked it and changed it to “Local Machine”, it was the only one that I managed to get it working @simco50 is this the same option you use or do you really use “Local Windows Debugger”? That gives me error crashes saying I had missing dlls, which is what happens when I launch the exe directly. Now the only thing that’s bothering me is that even though “Local Machine” works great, I cant set breakpoints, it says in the breakpoint that the symbols are not loaded, any idea? Thanks.

Sorry my bad, it should say “Local Machine”. Good catch.
The reason your breakpoints don’t hit is because Visual Studio is not looking at the right place for symbols.
In Visual Studio’s toolbar go to: Tools > Options > Debugging > Symbols. Add a new entry with the following path: YourProjectFolder\Binaries\UWP64
Save that and the next time you launch, it should load the symbols.

Hi, just one question

I making a test to pack a sample app to UWP. Everything works but when i try to run the app on windows it says that i need a trusted certificate.

I generate one in the Unreal options and it appears in the folder of the app.

I add the cerfiticate and it’s appears as ok, but still not working the app. Still says i need a trusted certificate.

I need the app for internal use, not for publish on the store.

what can i do?

thx!!

Have you tried these things:

  • Enable Developer Mode in the Windows Settings
  • When adding the certificate (double click on the certificate), select “Install Certificate”, then “Local Machine”, select “Place all certificates in the following store” and when browsing, select “Trusted People” and continue. Just adding the certificate with the default options might not be enough, this is just how I’ve always done it.

Nice! thank you! now it’s working! finally can install the certificate, but have a new problem :confused:

I’m using the FPS template of unreal. Just for testing. Nothing changed. But when i run the app only a blue windows appears, with the splash screen, and nothing more happens. After, maybe 30 seconds, the windows closes, and that’s it.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“large”,“data-tempid”:“temp_158883_1551693912239_354”}[/ATTACH]

What i’m doing wrong now?

Thanks again for your help!

Could you provide some more context?
Are you running a packaged build? Or deploying from Visual Studio?
Try taking a look at the log found here: C:\Users%username%\AppData\Local\Packages%AppID%\LocalState%project name%\Saved\Logs%project name.log%
There’s also a tool called DebugView made by Microsoft (https://download.sysinternals.com/files/DebugView.zip) which captures all logging in Windows into a log. Try running the application with this open and see if you catch any interesting logs.

The process is like this:

1- Create a new project, with the empty template


2- Create level

3- Put level as default

4-UWp options and certificate

5-Package

6- finish and no errors

7- Install certificate, install app, run app and stuck here.

That’s the full process :slight_smile:

cannot find the file in the path, there is no folder with my project name inside localstate
"C:\Users%username%\AppData\Local\Packages%AppID%\LocalState%project name%\Saved\Logs%project name.log%"

This is the debug window running the app

Thanks a lot for your help!!

yeah!, I have the exact same problem :mad:…well, they have just deleted the repository ( https:///MICROSOFT-XBOX-ATG ) , so I guess they are not going to support this like they did with WindowsXP and the RPCs exploits :confused:

So what can i do? i readed some about packing using visual studio, but i’m not sure if i can do this.

I’m in this mess because i’m trying to use a MS Surface Pro as a tablet. I have an app using gyroscope to rotate camera: Works perfectly on Android but doesn’t work on the Surface Pro. That’s why i’m trying to test on a UWP app, because maybe this way the gyroscope works. But cannot make it work the app because this error, so i’m in a dead end all around right now :frowning:

I’ve followed the exact same steps as you but I am unable to reproduce the problem. I’m not familiar with the issue you are having.

The have not removed the repository, it’s private. You can find it here: https:///MICROSOFT-XBOX-ATG/MICROSOFT_UWP_UNREAL

bad luck for me! but thanks a lot for your help!! :slight_smile:

Anyway, my main problem is because i cannot make work the gyroscope on the Surface pro under Unreal. In android works perfectly, but if i run a windows app in the surface pro, doesn’t work the gyroscope.

That’s why i’m trying to use the UWP to test if this way gyroscope runs.

Any idea about this? :?

I doubt it would work on UWP if it doesn’t work on Android. The UWP integration is not very feature complete. However I’ve never tried it myself before.

Maybe i not explained well, sorry.

I use this in my blueprint:

And work perfect in Android. I can move the tablet and the camera moves. But if i create a windows app, and uses on the surface, nothing happens if move the tablet.

Oh yeah, my mistake, I was not logged in

Been having problems ever since the new 17xxx SDK came out. Games that were packaging and playing are now not. I have tried changing the lasted tested version and build to 16xxxx but get the same results. Crash dump below. Thanks in advance.

Dump Summary

Dump File: UE4Game-UWP64-Shipping.exe.4004.dmp : C:\Users\mgrpr\Desktop\UE4Game-UWP64-Shipping.exe.4004.dmp
Last Write Time: 07/03/2019 13:46:30
Process Name: UE4Game-UWP64-Shipping.exe : S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\UWP64\UE4Game-UWP64-Shipping.exe
Process Architecture: x64
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Present

System Information

OS Version: 10.0.18349
CLR Version(s):

Modules

Module Name Module Path Module Version


UE4Game-UWP64-Shipping.exe S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\UWP64\UE4Game-UWP64-Shipping.exe 0.0.0.0
ntdll.dll C:\Windows\System32
tdll.dll 10.0.18349.2000
KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll 10.0.18349.2000
kernel32legacy.dll C:\Windows\System32\kernel32legacy.dll 10.0.18349.2000
combase.dll C:\Windows\System32\combase.dll 10.0.18349.2000
ucrtbase.dll C:\Windows\System32\ucrtbase.dll 10.0.18349.2000
rpcrt4.dll C:\Windows\System32\rpcrt4.dll 10.0.18349.2000
bcryptPrimitives.dll C:\Windows\System32\bcryptPrimitives.dll 10.0.18349.2000
ws2_32.dll C:\Windows\System32\ws2_32.dll 10.0.18349.2000
vccorlib140_app.DLL S:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe\vccorlib140_app.DLL 14.15.26706.0
oleaut32.dll C:\Windows\System32\oleaut32.dll 10.0.18349.2000
dxgi.dll C:\Windows\System32\dxgi.dll 10.0.18349.2000
d3d11.dll C:\Windows\System32\d3d11.dll 10.0.18349.2000
XAudio2_9.dll C:\Windows\System32\XAudio2_9.dll 10.0.18349.2000
msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.18349.2000
msvcp_win.dll C:\Windows\System32\msvcp_win.dll 10.0.18349.2000
win32u.dll C:\Windows\System32\win32u.dll 10.0.18349.2000
gdi32.dll C:\Windows\System32\gdi32.dll 10.0.18349.2000
gdi32min.dll C:\Windows\System32\gdi32min.dll 10.0.18349.2000
MinUser.dll C:\Windows\System32\MinUser.dll 0.0.0.0
VCRUNTIME140_APP.dll S:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe\VCRUNTIME140_APP.dll 14.15.26706.0
MSVCP140_APP.dll S:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe\MSVCP140_APP.dll 14.15.26706.0
kernel.appcore.dll C:\Windows\System32\kernel.appcore.dll 10.0.18349.2000
MMDevAPI.dll C:\Windows\System32\MMDevAPI.dll 10.0.18349.2000
avrt.dll C:\Windows\System32\avrt.dll 10.0.18349.2000
sechost.dll C:\Windows\System32\sechost.dll 10.0.18349.2000
DXCore.dll C:\Windows\System32\DXCore.dll 10.0.18349.2000
cfgmgr32.dll C:\Windows\System32\cfgmgr32.dll 10.0.18349.2000
devobj.dll C:\Windows\System32\devobj.dll 10.0.18349.2000
kernel32.dll C:\Windows\System32\Forwarders\kernel32.dll 10.0.18349.2000
procthreadexthost.dll C:\Windows\System32\procthreadexthost.dll 10.0.18349.2000
remotewinrt.dll C:\Windows\System32\remotewinrt.dll 10.0.18349.2000
Windows.ApplicationModel.dll C:\Windows\System32\Windows.ApplicationModel.dll 10.0.18349.2000
SHCore.dll C:\Windows\System32\SHCore.dll 10.0.18349.2000
twinapi.appcore.dll C:\Windows\System32 winapi.appcore.dll 10.0.18349.2000
rmclient.dll C:\Windows\System32\rmclient.dll 10.0.18349.2000
windows.storage.dll C:\Windows\System32\windows.storage.dll 10.0.18349.2000
powrprof.dll C:\Windows\System32\powrprof.dll 10.0.18349.2000
shlwapi_onecore.dll C:\Windows\System32\shlwapi_onecore.dll 10.0.18349.2000
advapi32legacy.dll C:\Windows\System32\advapi32legacy.dll 10.0.18349.2000
profapi.dll C:\Windows\System32\profapi.dll 10.0.18349.2000
MrmCoreR.dll C:\Windows\System32\MrmCoreR.dll 10.0.18349.2000
umpdc.dll C:\Windows\System32\umpdc.dll 0.0.0.0
sspicli.dll C:\Windows\System32\sspicli.dll 10.0.18349.2000
bcrypt.dll C:\Windows\System32\bcrypt.dll 10.0.18349.2000
propsys.dll C:\Windows\System32\propsys.dll 7.0.18349.2000
WinTypes.dll C:\Windows\System32\WinTypes.dll 10.0.18349.2000
xamapi.dll C:\Windows\System32\xamapi.dll 10.0.18349.2000
EtwPlus.dll C:\Windows\System32\EtwPlus.dll 10.0.18349.2000
XboxLiveTitleId.dll C:\Windows\System32\XboxLiveTitleId.dll 10.0.18349.2000
usermgrcli.dll C:\Windows\System32\usermgrcli.dll 10.0.18349.2000
procthreadexthostxbox.dll C:\Windows\System32\procthreadexthostxbox.dll 10.0.18349.2000
xosproxy.dll C:\Windows\System32\xosproxy.dll 10.0.18349.2000
Windows.UI.dll C:\Windows\System32\Windows.UI.dll 10.0.18349.2000
InputHost.dll C:\Windows\System32\InputHost.dll 10.0.18349.2000
TextInputFramework.dll C:\Windows\System32\TextInputFramework.dll 10.0.18349.2000
CoreMessaging.dll C:\Windows\System32\CoreMessaging.dll 10.0.18349.2000
CoreUIComponents.dll C:\Windows\System32\CoreUIComponents.dll 10.0.18349.2000
ntmarta.dll C:\Windows\System32
tmarta.dll 10.0.18349.2000
OneCoreUAPCommonProxyStub.dll C:\Windows\System32\OneCoreUAPCommonProxyStub.dll 10.0.18349.2000
usermgrproxy.dll C:\Windows\System32\usermgrproxy.dll 10.0.18349.2000
XboxUI.Api.dll C:\Windows\System32\XboxUI.Api.dll 10.0.18349.2000
Windows.Shell.ServiceHostBuilder.dll C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll 10.0.18349.2000
execmodelproxy.dll C:\Windows\System32\execmodelproxy.dll 10.0.18349.2000
UiaManager.dll C:\Windows\System32\UiaManager.dll 10.0.18349.2000
windows.ui.core.textinput.dll C:\Windows\System32\windows.ui.core.textinput.dll 10.0.18349.2000
CRYPTBASE.dll C:\Windows\System32\CRYPTBASE.dll 10.0.18349.2000
rometadata.dll C:\Windows\System32\rometadata.dll 4.8.3673.0
Windows.Graphics.dll C:\Windows\System32\Windows.Graphics.dll 10.0.18349.2000
execmodelclient.dll C:\Windows\System32\execmodelclient.dll 10.0.18349.2000
Windows.Storage.ApplicationData.dll C:\Windows\System32\Windows.Storage.ApplicationData.dll 10.0.18349.2000
WinRtTracing.dll C:\Windows\System32\WinRtTracing.dll 10.0.18349.2000
mswsock.dll C:\Windows\System32\mswsock.dll 10.0.18349.2000
dnsapi.dll C:\Windows\System32\dnsapi.dll 10.0.18349.2000
nsi.dll C:\Windows\System32
si.dll 10.0.18349.2000
IPHLPAPI.DLL C:\Windows\System32\IPHLPAPI.DLL 10.0.18349.2000
nlaapi.dll C:\Windows\System32
laapi.dll 10.0.18349.2000
PxFoundation_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\PxFoundation_x64.dll 1.0.0.0
PhysX3Common_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\PhysX3Common_x64.dll 3.4.0.0
PxPvdSDK_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\PxPvdSDK_x64.dll 1.0.0.0
PhysX3_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\PhysX3_x64.dll 3.4.0.0
APEXFramework_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\APEXFramework_x64.dll 1.4.0.0
APEX_Clothing_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\APEX_Clothing_x64.dll 1.4.0.0
PhysX3Cooking_x64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\PhysX3\UWP64\VS2015\PhysX3Cooking_x64.dll 3.4.0.0
Windows.Gaming.Input.dll C:\Windows\System32\Windows.Gaming.Input.dll 10.0.18349.2000
Windows.ApplicationModel.Store.TestingFramework.dll C:\Windows\System32\Windows.ApplicationModel.Store.TestingFramework.dll 10.0.18349.2000
deviceaccess.dll C:\Windows\System32\deviceaccess.dll 10.0.18349.2000
webservices.dll C:\Windows\System32\webservices.dll 10.0.18349.2000
Windows.Globalization.dll C:\Windows\System32\Windows.Globalization.dll 10.0.18349.2000
BCP47mrm.dll C:\Windows\System32\BCP47mrm.dll 10.0.18349.2000
Bcp47Langs.dll C:\Windows\System32\Bcp47Langs.dll 10.0.18349.2000
MFPalSra.dll C:\Windows\System32\MFPalSra.dll 10.0.18349.2000
XboxAppModelState.dll C:\Windows\System32\XboxAppModelState.dll 10.0.18349.2000
Windows.StateRepositoryPS.dll C:\Windows\System32\Windows.StateRepositoryPS.dll 10.0.18349.2000
Windows.System.UserDeviceAssociation.dll C:\Windows\System32\Windows.System.UserDeviceAssociation.dll 10.0.18349.2000
scache.dll C:\Windows\System32\scache.dll 0.0.0.0
userenv.dll C:\Windows\System32\userenv.dll 10.0.18349.2000
profext.dll C:\Windows\System32\profext.dll 10.0.18349.2000
ciumd_wddm.dll C:\Windows\System32\ciumd_wddm.dll 10.0.18349.2000
XbRmExt.dll C:\Windows\System32\XbRmExt.dll 10.0.18349.2000
sc_dll.dll C:\Windows\System32\sc_dll.dll 1.23.17122.1001
capauthz.dll C:\Windows\System32\capauthz.dll 10.0.18349.2000
xg.dll C:\Windows\System32\xg.dll 10.0.18349.2000
wintrust.dll C:\Windows\System32\wintrust.dll 10.0.18349.2000
msasn1.dll C:\Windows\System32\msasn1.dll 10.0.18349.2000
crypt32.dll C:\Windows\System32\crypt32.dll 10.0.18349.2000
dcomp.dll C:\Windows\System32\dcomp.dll 10.0.18349.2000
libogg_64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\Ogg\UWP64\VS2015\libogg_64.dll 1.2.2.0
libvorbis_64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\Vorbis\UWP64\VS2015\libvorbis_64.dll 1.3.2.0
libvorbisfile_64.dll S:\Program Files\WindowsApps\SideScrollerBPGameTemplate_1.0.0.0_x64__a78hwt03br9rj\Engine\Binaries\ThirdParty\Vorbis\UWP64\VS2015\libvorbisfile_64.dll 1.3.2.0
AudioSes.dll C:\Windows\System32\AudioSes.dll 10.0.18349.2000
resourcepolicyclient.dll C:\Windows\System32\resourcepolicyclient.dll 10.0.18349.2000
windows.applicationmodel.datatransfer.dll C:\Windows\System32\windows.applicationmodel.datatransfer.dll 10.0.18349.2000
coml2.dll C:\Windows\System32\coml2.dll 10.0.18349.2000
ie_shims.dll C:\Windows\System32\ie_shims.dll 10.0.18349.2000
iertutil.dll C:\Windows\System32\iertutil.dll 11.0.18349.2000
msxml6.dll C:\Windows\System32\msxml6.dll 6.30.18349.2000
wininet.dll C:\Windows\System32\wininet.dll 11.0.18349.2000
TOKENBINDING.dll C:\Windows\System32\TOKENBINDING.dll 10.0.18349.2000
ondemandconnroutehelper.dll C:\Windows\System32\ondemandconnroutehelper.dll 10.0.18349.2000
winhttp.dll C:\Windows\System32\winhttp.dll 10.0.18349.2000
wininetxblext.dll C:\Windows\System32\wininetxblext.dll 10.0.18349.2000
urlmon.dll C:\Windows\System32\urlmon.dll 11.0.18349.2000
winnsi.dll C:\Windows\System32\winnsi.dll 10.0.18349.2000
ole32_wp.dll C:\Windows\System32\ole32_wp.dll 10.0.18349.2000
Faultrep.dll C:\Windows\System32\Faultrep.dll 10.0.18349.2000
dbghelp.dll C:\Windows\System32\dbghelp.dll 10.0.18349.2000
dbgcore.dll C:\Windows\System32\dbgcore.dll 10.0.18349.2000

can you send me your project?

@Moozoo Not sure what happened, I bought a brand new One X for this. Just to find out nothing I tried worked. I started from the old 4.16, all the way up to 4.20.3 (in the pull request), I even followed various guides, and different tips and tricks and even read all 50 pages here, I have given up since. But I just pushed a new issue, as I saw that you have as well.

Does anyone know is there somewhere version of UE4 4.22 UWP for Download ?
This is very stupid.
I have a game I want to be UWP and there is only an old version that does not work me!

Unity has no problems with UWP.

I apologize for my bad English.