nesrak1
(nesrak1)
January 13, 2017, 10:12pm
30
My level has a pawn (containing a GoogleVRMotionController) and a cube. Its as basic as it gets. I have the controller emulator installed on my phone. When I click Play on my desktop, the daydream static mesh shows and the pointer and everything works great. Its only when I package and deploy to the Pixel phone that there’s a problem. As soon as I attach Set Arm Model Enable (true or false) to Begin Play, the app will crash when running on the phone. The app appears to start (black screen), then message is “App stopped, GoogleTestProject has stopped” - not very helpful. Its like the underlying daydream library is not being included in the deployed package.
Its a Blueprint project (not C++). The deployment type is Android_ASTC. According to the documentation it should work.
Can anyone post a basic project that is working for them?
I will try to upload a working project later today.
Also try connecting your phone with logcat and checking the error.
Lastly you can compare what you did with GVR4UR
Not working for me I get the following header error:
{quote}
Error C1853 ‘U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Intermediate\Build\Win64\UE4Editor\Development\SharedPCHs\UnrealEd.h.pch’ precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Plugins\Runtime\GoogleVR\GoogleVRController\Intermediate\Build\Win64\UE4Editor\Inc\GoogleVRController\GoogleVRController.generated.cpp: fatal error C1853: ‘U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Intermediate\Build\Win64\UE4Editor\Development\SharedPCHs\UnrealEd.h.pch’ precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) UE4 U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Plugins\Runtime\GoogleVR\GoogleVRHMD\Intermediate\Build\Win64\UE4Editor\Development\GoogleVRHMD\Module.GoogleVRHMD.cpp 1
Error C1853 ‘U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Intermediate\Build\Win64\UE4Editor\Development\SharedPCHs\UnrealEd.h.pch’ precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) UE4 U:\UnrealEngine\GitHub\UnrealEngine-4.14\Engine\Plugins\Runtime\GoogleVR\GoogleVRHMD\Intermediate\Build\Win64\UE4Editor\Inc\GoogleVRHMD\GoogleVRHMD.generated.cpp 1
{quote}
Could someone provide a basic step-by-step on how to compile the 4.13googlevr plugin branch with the 4.14 source?
Well I compiled in the 4.14 folder but the plugin is marked as engine version “custom” so ill see what i can do to make it a 4.14 plugin. (The plugin I uploaded I know causes errors at build time.)