x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Google VR plugins are outdated

In Unreal 4.14, the built in Google VR plugins are at 1.01 while the ones in the google vr branch are at 1.1.

The updates include very many features, and the only one that can be updated is the controller, the rest when compiled with slight modifications crash the editor on startup.

Product Version: UE 4.14
Tags:
more ▼

asked Jan 10 '17 at 05:25 AM in Bug Reports

avatar image

nesrak1
18 4 7

avatar image Rudy Q ♦♦ STAFF Jan 10 '17 at 04:29 PM

Hello nesrak1,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide detailed list of steps to reproduce this issue on our end?

  3. Could you provide a complete callstack, including the machine ID?

avatar image nesrak1 Jan 10 '17 at 10:39 PM

If running in the GoogleVR Unreal 4.13 branch, all 1.1 plugins work fine. If recompiled for 4.14, the GoogleVRHMD plugin crashes Unreal 4.14, the other two plugins do not crash. You have to revert back to Unreal's built in 1.01.

  1. This is already being tested in a clean project.

  2. Download googlevr unreal 4.13 branch, copy the googlevrhmd plugin and paste it into a clean project. Rebuild vs, and fix the includes in the cpp files to their actual path (the headers are red underlined already), then build the project. It will be with no errors. Run the project again and crash.

  3. https://drive.google.com/file/d/0B_w_cT4IsnDKM19JakhqTTdORFE/view?usp=sharing crashlog MachineId:E46AA7AF436D42289152F88B52386074

avatar image drh Jan 18 '17 at 05:42 PM

It seems that the 4.15 preview build still only has version 1.01 and not version 1.1.

It would be good to have an update on the status of 1.1 integration.

avatar image nesrak1 Jan 18 '17 at 07:48 PM

There is a 4.14 fork with 1.1 here https://github.com/nesrak1/UnrealEngine/ But yes, I agree it should have been updated a long tine ago. It's annoying to compile just for updared plugins...

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I have written up a feature request to include the updated SDKs for google VR and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-41051

Make it a great day

more ▼

answered Jan 24 '17 at 06:32 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Never mind, problem solved. After debugging with vs, it kept saying that oculus was crashing, not the plugin. I copied it over to a project that had all plugins disabled and it works now.

It would still be great if Unreal had the newer versions built in :)

EDIT: I take that back. The plugin compiled fine but when building the game, it says:

 LogPlayLevel: UnrealBuildTool: [1/4] clang++.exe Module.GoogleVRHMD.cpp [arm64-es2]
 LogPlayLevel: UnrealBuildTool: [2/4] clang++.exe GoogleVRHMD.generated.cpp [arm64-es2]
 LogPlayLevel: UnrealBuildTool: In file included from C:/Users/karse/Documents/Unreal Projects/Metal/Plugins/GoogleVRHMD/Intermediate/Build/Android/UE4/Development/GoogleVRHMD/Module.GoogleVRHMD.cpp:2:
 LogPlayLevel: UnrealBuildTool: In file included from C:\Users\karse\Documents\Unreal Projects\Metal\Plugins\GoogleVRHMD\Source\GoogleVRHMD\Private\GoogleVRHMD.cpp:17:
 LogPlayLevel: UnrealBuildTool: In file included from C:/Users/karse/Documents/Unreal Projects/Metal/Plugins/GoogleVRHMD/Source/GoogleVRHMD/Private/GoogleVRHMD.h:36:
 LogPlayLevel: UnrealBuildTool: In file included from C:/Program Files (x86)/Epic Games/4.14/Engine/Source\Runtime/OpenGLDrv/Private/OpenGLDrvPrivate.h:9:
 LogPlayLevel: UnrealBuildTool: Runtime/OpenGLDrv/Public\OpenGLDrv.h(28,10) :  fatal error: 'Android/AndroidOpenGL.h' file not found
 LogPlayLevel: UnrealBuildTool: #include "Android/AndroidOpenGL.h"
 LogPlayLevel: UnrealBuildTool:          ^
 LogPlayLevel: UnrealBuildTool: 1 error generated.



more ▼

answered Jan 10 '17 at 11:43 PM

avatar image

nesrak1
18 4 7

avatar image Rudy Q ♦♦ STAFF Jan 11 '17 at 02:14 PM

After taking a quick look at the information provided it seems like it can't find Android/AndroidOpenGL.h. Did you include this when making changes?

Error message: fatal error: 'Android/AndroidOpenGL.h' file not found

avatar image aussieburger Jan 16 '17 at 08:58 AM

Hi Rudy - Is there any update on including the latest googleVR version in UE4? As it stands with this old version it is un-releasable as per the publishing requirements of google: https://developers.google.com/vr/distribute/daydream/app-quality Many of the required features there are not available in the current version of the UE4 plugin. My project is stuck to 4.14 which means I cannot just use the 4.13 googlevr branch :(

avatar image nesrak1 Jan 12 '17 at 02:37 AM

That's the problem, there are 3 headers that are usually erroring, if I give it the full path, it compiles. OpenGLDrv is built into Unreal and already in the Build.cs, but none of it's headers are in the External Dependencies even after rebuilding vs project stuffs. I'm assuming that when I put the full path into the include, it does something to the other plugins referenced this way and can't include other files without also being a full path?

I'm sure though if I just compile this plugin alongside the engine code (what I'm doing right now) then it will work fine. We'll see.

avatar image nesrak1 Jan 14 '17 at 12:59 AM

I ended up going back to plopping the plugin back into the project and discovered that inside the Build.cs, were local file paths. I changed the PrivateIncludePaths to a direct path on my computer and it worked completely fine. But once again, another build error

  [5/8] clang++.exe UELinkerFixups.cpp [arm64-es2]
  In file included from C:/Users/karse/Documents/Unreal Projects/Metal/Plugins/GoogleVRHMD/Intermediate/Build/Android/UE4/Development/GoogleVRHMD/Module.GoogleVRHMD.cpp:2:
  In file included from C:\Users\karse\Documents\Unreal Projects\Metal\Plugins\GoogleVRHMD\Source\GoogleVRHMD\Private\GoogleVRHMD.cpp:17:
  In file included from C:/Users/karse/Documents/Unreal Projects/Metal/Plugins/GoogleVRHMD/Source/GoogleVRHMD/Private/GoogleVRHMD.h:36:
  In file included from C:/Program Files (x86)/Epic Games/4.14/Engine/Source/Runtime/OpenGLDrv/Private\OpenGLDrvPrivate.h:9:
  In file included from Runtime/OpenGLDrv/Public\OpenGLDrv.h:28:
  C:/Program Files (x86)/Epic Games/4.14/Engine/Source/Runtime/OpenGLDrv/Private\Android/AndroidOpenGL.h(117,8) :  error: unknown type name 'PFNGLDRAWELEMENTSINSTANCEDPROC'; did you mean 'PFNGLDRAWELEMENTSINSTANCEDNVPROC'?
  extern PFNGLDRAWELEMENTSINSTANCEDPROC   glDrawElementsInstanced;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PFNGLDRAWELEMENTSINSTANCEDNVPROC
  C:/NVPACK/android-ndk-r12b/platforms/android-24/arch-arm64/usr/include\GLES2/gl2ext.h(2203,28) :  note: 'PFNGLDRAWELEMENTSINSTANCEDNVPROC' declared here
  typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
                             ^


This happens even compiling the stock plugins that come with 4.14. Regardless of me not being able to compile, Unreal should still come with an updated version.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question