Microsoft-OpenXR-Unreal icon indicating copy to clipboard operation
Microsoft-OpenXR-Unreal copied to clipboard

5.1.0 Preview 1

Open gvindiol opened this issue 3 years ago • 1 comments

Is there any way to use this plugin yet? When switching a project to use Preview 1 with the MicrosoftOpenXR Plugin in-use, I'm unable to and thrown off by the following messages.

N:\...\Plugins\MicrosoftOpenXR\Source\NuGetModule\NuGetModule.Build.cs(67,26): error CS7036: There is no argument given that corresponds to the required formal parameter 'Logger' of 'Utils.RunLocalProcessAndPrintfOutput(ProcessStartInfo, ILogger)'
N:\...\Plugins\MicrosoftOpenXR\Source\NuGetModule\NuGetModule.Build.cs(218,26): error CS7036: There is no argument given that corresponds to the required formal parameter 'Logger' of 'Utils.RunLocalProcessAndPrintfOutput(ProcessStartInfo, ILogger)'

gvindiol avatar Oct 09 '22 06:10 gvindiol

I am porting our plugins to 5.1 now, this particular function has changed to RunLocalProcessAndReturnStdOut

You can find a port here: https://github.com/JeffreyFisher/Microsoft-OpenXR-Unreal/tree/jfisher

However, 5.1 preview 1 does have a crash in the Engine when launching non-shipping builds on HoloLens that I am investigating.

fieldsJacksonG avatar Oct 12 '22 17:10 fieldsJacksonG

FYI, this can be resolved by passing in Log.Logger as the missing parameter:

var ExitCode = Utils.RunLocalProcessAndPrintfOutput(StartInfo, Log.Logger);

levi avatar Oct 25 '22 18:10 levi