My project is working fine in the editor, but I still can’t get a package to run. When I click on the game, the process starts but nothing comes up. The log ends here:
[2017.08.14-14.53.56:350] 0]LogPakFile: New pak file ../../../ProxyWarVR/Content/Paks/ProxyWarVR-WindowsNoEditor.pak added to pak precacher.
[2017.08.14-14.53.56:489] 0]LogInit: Selected Device Profile: [WindowsNoEditor]
[2017.08.14-14.53.56:703] 0]LogContentStreaming: Texture pool size is 1000.00 MB
And when attaching the debugger I can see that the main thread ALWAYS stops at a line containing
CreateDefaultSubobject<UWidgetComponent>()
In fact, looking at the call stack…
it is stopping on TWO of these lines (in my character and in my menu actor). Both of these lines are CreateDefaultSubobject<UWidgetComponent>.
Looking at the threads, there seems to be a CrashReportingThread running but no crash reporter is ever shown.
I’ve tried packaging a basic FPS template with a test actor containing a UWidgetComponent and it worked fine, so I’m sort of at a loss here. This appears to be unique to my project.
UPDATE I removed the UWidgetComponent as a subobject from my character and now it works fine. I am still able to have a widget in my “Tablet” class, however. This one is pretty baffling