New Google Cardboard SDK

Hello Michael,

any news about your cardboard plugin?

It looks like people are hacking together ways to make games for the google cardboard using Unreal, but I’d sure like to see Epic get on board and provide more help with it! Meanwhile most people are going with Unity because it works so well with cardboard already.
I’m just starting on Unreal and really hope that there is a way to use it to make decent VR apps for cardboard.

UE4 is generally not quite ready for mobile VR. From what I understand, 4.11+ is when it would be usable in mobile VR.

+1 from me as well. Im going to have to do my own integration for a project at the moment but would be great to have a solution from Epic outside of the Simple HMD provided

Hi Michael,

Sorry, I only just saw this message.

For what it’s worth, I was testing on a Nexus 9 and 5.

I’ve also a Nexus 5X and Jolla phone, if you’d like me to test on these devices as well?

Regards,
James

Hi. Dear Epic Games team members, please give us a short answer to this thread. Are you interested in implementing Cardboard SDK support in next 6 months?

Quick update from the horses mouth:

Doesn’t look like 4.11 is going to get Cardboard support.

Regards,
Minxies

I have found this hope it helps out some. I’m currently looking into a way to make UE4 work for Cardboard.

Bmiddend -

Impressive work so far. Do you have any intention on providing the blueprints or pointers on making the visuals work for others trying to do the same thing?

[QUOTE=Bmiddend;433173]
I have found this hope it helps out some. I’m currently looking into a way to make UE4 work for Cardboard.

Any updates on this?

+1 from me because:

I want to make a game for my Sister but i don’t now how to use unity.

Hi :slight_smile: Picture below was made via Trello’s UI bug, but so nice and our hope is still alive :slight_smile: Guys from Epic, you are awesome, please make this happen!

Hmm… I wish they had instanced VR rendering on Trello for mobile instead (or before) of Cardboard support :rolleyes:

4.11 has mobile static mesh instancing support by the way - tested it on the GearVR and working great! :slight_smile:

I meant rendering both eyes in one draw call.

Hi guys, just FYI comments from Epic Games from “Editor in VR” stream:

Hi guys,

We decided to open our own adaptation of Simple HMD plugin to use as Cardboard while official support is not implemented by Epic/Google
https://github.com/NivalVR/

Hope it will be helpful for you :slight_smile:

Hmm, I put this plugin to /MyProject/Plugins//.uplugin and /Epic Games/4.10/Engine/Plugins.
But I can’t use this on 4.10.2.
Can anybody use this?

Hi Yasei,

It’s not clear what you mean by “cannot be used”. You need to extract the archive content to MyProject/Plugins/ (MyProject being a C++ project) so that the .uplugin is inside that folder. Upon launch UE4 will ask you to compile the project. Please note that the plugin must be compiled in order to be used. Maybe that is your problem. If your project is not a C++ project it would be theoretically enough to add an empty C++ class to your project and let UE4 do the rest. In any case for c++ UE4 project on Windows Visual Studio 2015 is required.

Feel free to report any problems!

Edit: The issue below was solved by updating to the latest Unreal Engine 4.10.x

I’m having the same issue as the previous poster. I opened my project in the editor and used the wizard to create a new C++ class. It opened Visual Studio where I saved my new class and closed everything.

Next I extracted the -master.zip from github into /MyProject/Plugins/ and then tried to open my project again.

“The following modules are missing or build with a different engine version: Ue4Editor-.dll Would you like to rebuild them now?”

After selecting “Yes” it works for a bit and ultimately fails with “MyProject could not be compiled. Try rebuilding from source manually.”

I found the logs from this process (MyProject is named Warehouse2):


Log file open, 02/18/16 22:36:43
LogInit:Display: Running engine for game: Warehouse2
LogInit:Warning: Incompatible or missing module: UE4Editor-.dll
Running D:/Program Files/Epic Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe Warehouse2 Development Win64 -project="D:/projects/unreal/Warehouse2/Warehouse2.uproject" -rocket -editorrecompile -progress
Performing 2 actions (4 in parallel)
SimpleHMD.cpp
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(27) : error C3668: 'FSimpleHMD::HasValidTrackingPosition' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(27) : warning C4263: 'bool FSimpleHMD::HasValidTrackingPosition(void)' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'bool IHeadMountedDisplay::HasValidTrackingPosition(void) const' : no override available for virtual member function from base 'IHeadMountedDisplay'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(93) : see declaration of 'IHeadMountedDisplay::HasValidTrackingPosition'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(29) : see declaration of 'IHeadMountedDisplay'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(28) : error C3668: 'FSimpleHMD::GetPositionalTrackingCameraProperties' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(28) : warning C4263: 'void FSimpleHMD::GetPositionalTrackingCameraProperties(FVector &,FQuat &,float &,float &,float &,float &,float &) const' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'void IHeadMountedDisplay::GetPositionalTrackingCameraProperties(FVector &,FRotator &,float &,float &,float &,float &,float &) const' : no override available for virtual member function from base 'IHeadMountedDisplay'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(98) : see declaration of 'IHeadMountedDisplay::GetPositionalTrackingCameraProperties'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(29) : see declaration of 'IHeadMountedDisplay'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(29) : error C3668: 'FSimpleHMD::RebaseObjectOrientationAndPosition' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : error C2555: 'FSimpleHMD::GetViewExtension': overriding virtual function return type differs and is not covariant from 'IHeadMountedDisplay::GetViewExtension'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(114) : see declaration of 'IHeadMountedDisplay::GetViewExtension'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(64) : error C3668: 'FSimpleHMD::DrawDistortionMesh_RenderThread' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(64) : warning C4263: 'void FSimpleHMD::DrawDistortionMesh_RenderThread(FRenderingCompositePassContext &,const FIntPoint &)' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'void IHeadMountedDisplay::DrawDistortionMesh_RenderThread(FRenderingCompositePassContext &,const FSceneView &,const FIntPoint &)' : no override available for virtual member function from base 'IHeadMountedDisplay'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(274) : see declaration of 'IHeadMountedDisplay::DrawDistortionMesh_RenderThread'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(29) : see declaration of 'IHeadMountedDisplay'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(74) : error C3668: 'FSimpleHMD::GetEyeRenderParams_RenderThread' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(74) : warning C4263: 'void FSimpleHMD::GetEyeRenderParams_RenderThread(const FRenderingCompositePassContext &,FVector2D &,FVector2D &) const' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'void IStereoRendering::GetEyeRenderParams_RenderThread(EStereoscopicPass,FVector2D &,FVector2D &) const' : no override available for virtual member function from base 'IStereoRendering'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\StereoRendering.h(58) : see declaration of 'IStereoRendering::GetEyeRenderParams_RenderThread'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\StereoRendering.h(10) : see declaration of 'IStereoRendering'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(77) : error C3668: 'FSimpleHMD::SetupViewFamily' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(80) : error C3668: 'FSimpleHMD::PreRenderView_RenderThread' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(80) : warning C4263: 'void FSimpleHMD::PreRenderView_RenderThread(FRHICommandListImmediate &,FSceneView &)' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'void ISceneViewExtension::PreRenderView_RenderThread(FSceneView &)' : no override available for virtual member function from base 'ISceneViewExtension'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(30) : see declaration of 'ISceneViewExtension::PreRenderView_RenderThread'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(10) : see declaration of 'ISceneViewExtension'
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(81) : error C3668: 'FSimpleHMD::PreRenderViewFamily_RenderThread' : method with override specifier 'override' did not override any base class methods
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(81) : warning C4263: 'void FSimpleHMD::PreRenderViewFamily_RenderThread(FRHICommandListImmediate &,FSceneViewFamily &)' : member function does not override any base class virtual member function
d:\projects\unreal\warehouse2\plugins\\source\simplehmd\private\SimpleHMD.h(123) : warning C4264: 'void ISceneViewExtension::PreRenderViewFamily_RenderThread(FSceneViewFamily &)' : no override available for virtual member function from base 'ISceneViewExtension'; function is hidden
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(25) : see declaration of 'ISceneViewExtension::PreRenderViewFamily_RenderThread'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(10) : see declaration of 'ISceneViewExtension'
D:\projects\unreal\Warehouse2\Plugins\\Source\SimpleHMD\Private\SimpleHMD.cpp(26) : error C2555: 'FSimpleHMDPlugin::CreateHeadMountedDisplay': overriding virtual function return type differs and is not covariant from 'IHeadMountedDisplayModule::CreateHeadMountedDisplay'
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h(65) : see declaration of 'IHeadMountedDisplayModule::CreateHeadMountedDisplay'
D:\projects\unreal\Warehouse2\Plugins\\Source\SimpleHMD\Private\SimpleHMD.cpp(32) : error C2259: 'FSimpleHMD' : cannot instantiate abstract class
        due to following members:
        'bool IHeadMountedDisplay::HasValidTrackingPosition(void) const' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(93) : see declaration of 'IHeadMountedDisplay::HasValidTrackingPosition'
        'void IHeadMountedDisplay::GetPositionalTrackingCameraProperties(FVector &,FRotator &,float &,float &,float &,float &,float &) const' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(98) : see declaration of 'IHeadMountedDisplay::GetPositionalTrackingCameraProperties'
        'void IHeadMountedDisplay::UpdateScreenSettings(const FViewport *)' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplay.h(280) : see declaration of 'IHeadMountedDisplay::UpdateScreenSettings'
        'void IStereoRendering::PushViewportCanvas(EStereoscopicPass,FCanvas *,UCanvas *,FViewport *) const' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\StereoRendering.h(47) : see declaration of 'IStereoRendering::PushViewportCanvas'
        'void IStereoRendering::PushViewCanvas(EStereoscopicPass,FCanvas *,UCanvas *,FSceneView *) const' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\StereoRendering.h(53) : see declaration of 'IStereoRendering::PushViewCanvas'
        'void ISceneViewExtension::ModifyShowFlags(FEngineShowFlags &)' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(15) : see declaration of 'ISceneViewExtension::ModifyShowFlags'
        'void ISceneViewExtension::PreRenderViewFamily_RenderThread(FSceneViewFamily &)' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(25) : see declaration of 'ISceneViewExtension::PreRenderViewFamily_RenderThread'
        'void ISceneViewExtension::PreRenderView_RenderThread(FSceneView &)' : is abstract
        D:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\SceneViewExtension.h(30) : see declaration of 'ISceneViewExtension::PreRenderView_RenderThread'
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: D:\projects\unreal\Warehouse2\Plugins\\Binaries\Win64\UE4Editor-.dll
Cumulative action seconds (8 processors): 0.00 building projects, 4.05 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
UBT execution time: 5.99 seconds
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (14)
LogModuleManager: Shutting down and abandoning module TextureCompressor (13)
LogModuleManager: Shutting down and abandoning module ShaderCore (12)
LogModuleManager: Shutting down and abandoning module Landscape (11)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (10)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (9)
LogModuleManager: Shutting down and abandoning module D3D11RHI (8)
LogModuleManager: Shutting down and abandoning module Renderer (7)
LogModuleManager: Shutting down and abandoning module Engine (6)