Jump to content

I have a question about VIVEPORT SDK with UE4.


ELIOT

Recommended Posts

Posted

Hello I'm going through submission to the VIVEPORT.

 

I have difficult applying VIVE DRM SDK to my project.

 

I had copied HtcVitaPlugin in the Plugins folder.

 

and then compiled my project. My project occurs error. like this


Error CS0619 'UnrealBuildTool.RulesCompiler.GetModuleFilename(string)'은(는) 사용되지 않습니다. 'GetModuleFilename is deprecated, use the ModuleDirectory property on any ModuleRules instead to get a path to your module.' VIVEPORT c:\Users\eliot\Documents\Unreal Projects\VIVEPORT\Plugins\HtcVitaPlugin\Source\HtcVitaPlugin\HtcVitaPlugin.Build.cs 10

 

private string ModulePath
{
   get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); }
}

this line has error. The reason is that GetDirectoryName function is deprecated. 

I changed this line like this

 

private string ModulePath
{
      get { return ModuleDirectory; }
}

When I changed this line, It works fine. Would you check this error and modify this error?

>------------------------------

And I have a question. 

 

I changed test APP ID and APP KEY to my APP ID and APP KEY that is written on the delveloper window.

 

 In the UE4 Editor.

1.PNG

in the viveport developer window.

2.PNG

When I  play my project, Error occured in my project.

 

Did I make a mistake?

 

Shouldn't I change APP ID and APP KEY? 

 

Thank you

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...