node:fs:585 Error uploading Quest build with Unity, ovr-platform-util, and ODH
This error occurs whenever I try to do an build upload. I've tried uploading from ODH, Unity and the ovr-platform-util. All generate the same error. I even just tried using ovr-platform-util with no arguments and also get the same error. For reference, - I don't have a D:/ drive (shouldn't matter) - The app was installed and run on my M:/ drive (SSD) Details below: node:fs:585 handleErrorFromBinding(ctx); ^ Error: UNKNOWN: unknown error, open 'D:\full-fbsource\arvr\js\node_modules\yargs\locales\en.json' at Object.openSync (node:fs:585:3) at Object.openSync (pkg/prelude/bootstrap.js:739:32) at Object.readFileSync (node:fs:453:35) at Object.readFileSync (pkg/prelude/bootstrap.js:1025:36) at o._readLocaleFile (C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js) at o.__ (C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js) at C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js at Object.<anonymous> (C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js) at C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js at a (C:\snapshot\D_Zfull-fbsource\edenfs\redirections\arvr\js\temp\build-ovr-platform-util\lib\ovr_platform_util.js) { errno: -4094, syscall: 'open', code: 'UNKNOWN', path: 'D:\\full-fbsource\\arvr\\js\\node_modules\\yargs\\locales\\en.json' }2KViews0likes0Comments(Unity) How to get players OculusID / Username
I have been trying to retrieve the username but I can't get anything to work. Here's the program below. It retrieves the user's OculusID and sets a variable that is synced on the network. When this is run, it returns as a null reference exception. Users.GetLoggedInUser().OnComplete((Message<User> uMsg) => { if (uMsg.IsError) { Debug.LogError("Platform: GetLoggedInUser() failed. Reason: " + uMsg.GetError().Message); return; // no need to go any further if local user can't be determined } else { // success, process user structure we receive in uMsg.Data newClientClass.nickName = uMsg.Data.OculusID; } }); I cannot find any example code or documentation on how to properly implement this.3.5KViews0likes2Comments