# Workaroud for UE-65983

**URL:** <https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 8, 2019, 7:06pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901 "2019-03-08T19:06:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [March 8, 2019, 7:06pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/1 "2019-03-08T19:06:49Z")

</div>

Ran into [this](https://issues.unrealengine.com/issue/UE-65983) 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](https://docs.unrealengine.com/en-us/Platforms/GoogleVR/QuickStart) 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.

---

<div class="post-metadata">

**Author:** ![DesertEagle\_PWN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertEagle\_PWN](https://forums.unrealengine.com/u/DesertEagle_PWN)\
**Post date:** [April 3, 2019, 9:12pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/2 "2019-04-03T21:12:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [April 4, 2019, 11:14am UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/3 "2019-04-04T11:14:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DesertEagle\_PWN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertEagle\_PWN](https://forums.unrealengine.com/u/DesertEagle_PWN)\
**Post date:** [April 4, 2019, 7:31pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/4 "2019-04-04T19:31:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [April 4, 2019, 8:58pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/5 "2019-04-04T20:58:28Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![DesertEagle\_PWN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertEagle\_PWN](https://forums.unrealengine.com/u/DesertEagle_PWN)\
**Post date:** [April 5, 2019, 9:42pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/6 "2019-04-05T21:42:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MitRA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MitRA](https://forums.unrealengine.com/u/MitRA)\
**Post date:** [April 26, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/7 "2019-04-26T16:58:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [April 26, 2019, 7:47pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/8 "2019-04-26T19:47:13Z")

</div>

You are welcome!

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [April 27, 2019, 8:35am UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/9 "2019-04-27T08:35:06Z")

</div>

Does it also workaround: [Unreal Engine Issues and Bug Tracker (UE-70092)](https://issues.unrealengine.com/issue/UE-70092) ?  
will have to try this soon 🙂

---

<div class="post-metadata">

**Author:** ![MitRA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MitRA](https://forums.unrealengine.com/u/MitRA)\
**Post date:** [April 27, 2019, 10:09am UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/10 "2019-04-27T10:09:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [April 27, 2019, 6:17pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/11 "2019-04-27T18:17:00Z")

</div>

Just tested it and unfortunately [Unreal Engine Issues and Bug Tracker (UE-70092)](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](https://github.com/googlevr-unreal/UnrealEngine/issues/38#issuecomment-457787297)  
because that is not fixing 70092. It only fixes this one: [Unreal Engine Issues and Bug Tracker (UE-46640)](https://issues.unrealengine.com/issue/UE-46640)

---

<div class="post-metadata">

**Author:** ![sanchezzzz1997](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sanchezzzz1997](https://forums.unrealengine.com/u/sanchezzzz1997)\
**Post date:** [April 29, 2019, 12:11pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/12 "2019-04-29T12:11:41Z")

</div>

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](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](https://github.com/googlevr-unreal/UnrealEngine/releases))
2. comment out a few lines as indicated here ([https://github.com/googlevr-unreal/UnrealEngine/issues/38](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)

---

<div class="post-metadata">

**Author:** ![aussieburger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Post date:** [April 29, 2019, 12:38pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/13 "2019-04-29T12:38:56Z")

</div>

[Unreal Engine Issues and Bug Tracker (UE-70092)](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 😉

---

<div class="post-metadata">

**Author:** ![MitRA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MitRA](https://forums.unrealengine.com/u/MitRA)\
**Post date:** [April 29, 2019, 1:22pm UTC](https://forums.unrealengine.com/t/workaroud-for-ue-65983/444901/14 "2019-04-29T13:22:39Z")

</div>

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.
