Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Leemon89's avatar
Leemon89
Explorer
7 years ago

[GearVR] SteamVR plugin required to build a project.

Just a question.
Is it OK that SteamVR plugin required (it is enabled by default) to build a project? Previously only Oculus VR plugin was required. With it's disabled there are Gradle errors during project build. Error

2 Replies

Replies have been turned off for this discussion
  • Hey there,

    I am unsure how your error is related to SteamVR, but the error you're getting may mean you need to link Unreal Engine's AndroidPermission library by adding the following to your .Build.cs:
    if(Target.Platform == UnrealTargetPlatform.Android)
    {
    PrivateDependencyModuleNames.AddRange(new string[] { "AndroidPermission" });
    }
    Alternatively, it could be that the GoogleVR plugin is still enabled in your project. Try disabling it explicitly.

    Hope some of that helps,
    Cheers, Jonathan.
  • I guess it's supposed to be done on a source engine version, so I can build it with given changes? Coz I'm using Launcher version.