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. 

Workaroud for UE-65983

Ran into this bug (UE-65983) while trying to package a project for use with google-vr. Below is info that might be useful for anyone else running into it.

In an attempt to work around it I was trying to get the quick start guide project to run correctly on my android phone.

Possible workarounds:

  1. Use old version of engine. I had 4.18 installed and trying that everything is fine.

  2. Replace google-vr plugin folder. Unforuntaly I had already created the project I wanted to package and unreal isn't able to migrate assets to older versions of editor. I found that if you just replace the plugin folder "C:\Program Files\Epic Games\UE_4.21\Engine\Source\ThirdParty\GoogleVR" with the corresponding one in 4.18 everything works ok too.

Product Version: UE 4.21
Tags:
more ▼

asked Mar 08 '19 at 07:06 PM in Packaging & Deployment

avatar image

ctpeepee
16 1 3

avatar image DesertEagle_PWN Apr 03 '19 at 09:12 PM

You did rebuild 4.21 with the 4.18 GoogleVR source correct? I am having this issue too, but I'm getting build failures when trying to replace the 4.21 GoogleVR source with the 4.18 Source.

avatar image ctpeepee Apr 04 '19 at 11:14 AM

I'm not quite sure I understand what you mean. If you mean did I build engine from source when I was working round this issue then nope.

I was using the launcher version of 4.21 and simply replaced the folders I described above in explorer and then when packaging my project the errors went away.

avatar image DesertEagle_PWN Apr 04 '19 at 07:31 PM

And you're sure you replaced the GoogleVR folder under Engine/Source and not the Plugins folder? Doesn't seem to make much sense, but I'm pretty desperate for a solution, I'm giving it another try.

avatar image ctpeepee Apr 04 '19 at 08:58 PM

Yep I only replaced the folder in the Source directory. As in the directory I listed in my original post is correct. I guess it is a bit surprising it worked when I'd left the one in the plugins folder alone. Two people have up-voted the question so I'd assumed it worked for them too. Sorry I can't help!

avatar image DesertEagle_PWN Apr 05 '19 at 09:42 PM

Yeah, this didn't work for me. I ultimately just had to recreate my project in 4.18; a bit of a hassle, but took me 2 days instead of waiting any more. So for now it seems like GoogleVR development for 4.20 onward is a bad idea.

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

1 answer: sort voted first

OMG IT WORKS! IT ACTUALLY WORKS!! Install UE 4.22 from launcher, then 4.18 from launcher, delete GoogleVR folder from 4.22 Engine\Source\ThirdParty and copy GoogleVR folder from 4.18 directory! Thank you so much dude!

more ▼

answered Apr 26 '19 at 04:58 PM

avatar image

MitRA
16 1 4 4

avatar image ctpeepee Apr 26 '19 at 07:47 PM

You are welcome!

avatar image aussieburger Apr 27 '19 at 08:35 AM

Does it also workaround: https://issues.unrealengine.com/issue/UE-70092 ? will have to try this soon :)

avatar image MitRA Apr 27 '19 at 10:09 AM

I've seen this one fixed by commenting out few lines of code at the plugin, they also used googleVR source to fix UE-65983.

avatar image aussieburger Apr 27 '19 at 06:17 PM

Just tested it and unfortunately https://issues.unrealengine.com/issue/UE-70092 still occurs :( You mentioned comment out a few lines of code - you don't mean this do you: https://github.com/googlevr-unreal/UnrealEngine/issues/38#issuecomment-457787297 because that is not fixing 70092. It only fixes this one: https://issues.unrealengine.com/issue/UE-46640

avatar image sanchezzzz1997 Apr 29 '19 at 12:11 PM

google vr plugin in old 4.18 vrsion can't work at 26 target api. 26 level - minimum for uploading app to google play... In newest version of google vr plugin this was fixed, but the app crashes immediately on startup if smartphone don't support daydream vr. This happens even if the application is configured only for cardboard VR.

I used the solution that was offered here (https://github.com/googlevr-unreal/UnrealEngine/issues/38). This worked, but only on version of 4.20 (I found the "if" block at line 160 - not at 198). But I need the engine version not lower 4.21. On version 4.21, I could not apply this fix... today I decided to try to replace googleVR folder with the engine version 4.21 folder from the old version 4.20, which I managed to fix it. And so I got 4.21 version of the engine with a working plugin from version 4.20! I did not have to rebuild the engine - I just immediately compiled the game and it worked! Maybe this fix work with version 4.22 as well...

Steps:

  1. download 4.20.2 branch googleVR from here (https://github.com/googlevr-unreal/UnrealEngine/releases)

  2. comment out a few lines as indicated here (https://github.com/googlevr-unreal/UnrealEngine/issues/38)

  3. build the engine

  4. download 4.21 Unreal Engine source code

  5. apply step "2" to 4.21 engine

  6. build the engine

  7. replace google vr folder of ue 4.21 by google vr folder from ue 4.20

  8. run 4.21 engine and compile the game

(sorry, i bad speak english - I'm still learning this language)

avatar image aussieburger Apr 29 '19 at 12:38 PM

https://issues.unrealengine.com/issue/UE-70092 will still occur - but if you're only interested in cardboard and not Daydream then it's a good workaround ;)

avatar image MitRA Apr 29 '19 at 01:22 PM

I can build my app in 4.22.1 engine version with 4.18 GoogleVR plugin and 26 target api. Works ok, haven't tried to upload it to the store though.

(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