Better Blueprint support for Oculus platform SDK features
I was wondering if Oculus is currently working on better blueprint support for Oculus platform SDK features or what their plans are for the future. Especially implementing Oculus Avatars via Blueprints only, VoIP, and Friends Invites would be really great to have. @NinjaGaijin, maybe you could give us some insight on what Oculus' plans are for this?1.7KViews3likes5CommentsPlease update the Unreal Oculus Platform SDK Sample Project
The Oculus Platform SDK Sampel Project for Unreal Engine (which you can download here https://developer.oculus.com/downloads/package/oculus-platform-sdk/) is not working. Direct Connection: I can connect via OculusID.oculus with a listen server, but pawn movement of the client is not displayed on the server. Probably some authority problem. No clue where authorities are managed here. Connection via Oculus: Creating a Session works and the client friend can click on the server-friend's created session to join. When clicking Start Session nothing happens. Sometimes one or both players are getting kicked out, the status messages show different things for both connected players, it is not possible to invite a friend to the session and destroying sessions does not work. VoIP does work sometimes. And please work with Unreal to create the missing SDK Blueprints: A lot of SDK features are currently only for C++, please add these as blueprints. Also, Avatar SDK in combination with multiplayer... Also a in depth guide on how to do all the Oculus SDK things and a tutorial for a fully working sample game with every SDK feature in it would be amazing. Maybe Unreal could provide a template to download. I love you guys at Oculus and Unreal, but please help the UE4 VR devs a bit more in creating amazing multiplayer experiences:)3.3KViews3likes13CommentsDetect what release channel the application is running on or get current release channel.
Is there away to tell if an application build is running on ALPHA/BETA/ … etc. I'd like to test out different content depending if it's on a given release channel, something like get current release channel. This way I can build the application once and migrate it down the release channel pipeline without having to rebuild for each channel if all I'm doing is changing a pointer.785Views2likes0CommentsCompatibility issue between Oculus Subsystem and MetaXR Platform
Using an unreal engine built from source and using the MetaXR v1.91, enabling both Oculus Subsystem Oculus and MetaXR Platform plugins at the same time in any project breaks compilation, causing link issues on the OVRPlatform library. Are there any known solution for this? example logs from a blank template project: UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetSize UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:152 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:152) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1896 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1896) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetSize(FOvrApplicationInvitePages const&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:219 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:219) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()()) UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetElement UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:156 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:156) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1886 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1886) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetElement(FOvrApplicationInvitePages const&, long long)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:223 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:223) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()()) UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times2.2KViews2likes5Comments[Unity][PlatformSDK][Leaderboards] Missing entries in query response (GetEntries/HTTP GET)
Hi there, Our new Unity game for Oculus Quest implements Oculus leaderboards using the Platform SDK from the Oculus Integration Unity asset, and it's been submitting and getting highscores just fine until now : we completed the data use checkup in the dev dashboard, and as for the Unity project the Oculus SDK is properly initialized, the user entitlement check passes, highscores are successfully submitted using Oculus.Platform.Leaderboards.WriteEntry(apiName, score, extraData), and leaderboards top and user-centered entries were successfully retrieved using Oculus.Platform.Leaderboards.GetEntries(apiName, 3, Oculus.Platform.LeaderboardFilterType.None, Oculus.Platform.LeaderboardStartAt.Top) and Oculus.Platform.Leaderboards.GetEntries(apiName, 3, Oculus.Platform.LeaderboardFilterType.None, Oculus.Platform.LeaderboardStartAt.CenteredOnViewer) for them to be displayed in game. Now that we are live on App Lab, we are experiencing issues in querying some of our leaderboard entries : some specific users' entries simply don't show up in the API's response, neither in the Oculus.Platform.Leaderboards.GetEntries callback data nor in the response to a HTTP GET request to the https://graph.oculus.com/leaderboard_entries endpoint, even though I can see in the developer dashboard, in the Oculus iPhone app and in my Quest's home menu that the entries do exist in the leaderboards... Is anyone else experiencing something similar? Could it be some entries filtering going on under the hood? Or could my leaderboard entries extra data be messing with something? Thanks in advance for the help.Solved2.5KViews1like2CommentsOculus subsystem and dedicated server connection issue
My game has an open world running on a dedicated server where clients can join and leave any time. It also has PvP sessions using Oculus' matchmaking service. To use the matchmaking service I have to use the OculusNetConnection net driver. If I set this up in DefaultEngine.ini, then clients can host/join games, but they are not able to connect to the dedicated server due to 'Connection TIMED OUT'. If I roll back to the default UE4 netdriver, then clients can join to the dedicated server, but obviously they can't make sessions. How can I connect to the dedicated server using OculusNetConnection? Here is the DefaultEngine.ini: [OnlineSubsystem] DefaultPlatformService=Oculus bHasVoiceEnabled=true [OnlineSubsystemOculus] bEnabled=true OculusAppId=********************** RiftAppID=********************** [Voice] bEnabled=true [/Script/OnlineSubsystemOculus.OculusNetDriver] ServerTravelPause=4.0 [/Script/Engine.GameEngine] +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemOculus.OculusNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver") [/Script/OnlineSubsystemOculus.OculusNetDriver] NetConnectionClassName="/Script/OnlineSubsystemOculus.OculusNetConnection" [/Script/Engine.NetDriver] AllowPeerConnections=False AllowPeerVoice=False ConnectionTimeout=60.0 InitialConnectTimeout=60.0 KeepAliveTime=0.2 MaxClientRate=15000 MaxInternetClientRate=10000 RelevantTimeout=5.0 SpawnPrioritySeconds=1.0 ServerTravelPause=4.0 NetServerMaxTickRate=30 MaxPortCountToTry=5121.7KViews1like3CommentsFetching DLC download progress in Unity
Hi all, I am trying to implement DLC download in Unity. These are my environment details: Unity: 2018.3.6f1, Oculus Integration 1.35. I am able to get the list of DLC files that I've uploaded and also able to download them. However, I am not sure how to get the progress of the download. The documentation suggests subscribing to notifications. https://developer.oculus.com/documentation/platform/latest/concepts/dg-dlc/ Can anyone please share some sample code on how this can be done? I'll share what I have so far below. Core.AsyncInitialize().OnComplete((Message InitMsg) => { AssetFile.GetList().OnComplete((Message msg) => { if (msg.IsError) { Debug.LogError("Error fetching DLC List: " + msg.GetError().Message); } else { var assetList = msg.GetAssetDetailsList(); foreach (var item in assetList) { Debug.Log("AssetID: " + item.AssetId); Debug.Log("AssetType: " + item.AssetType); Debug.Log("DownloadStatus: " + item.DownloadStatus); Debug.Log("Filepath: " + item.Filepath); //Download it if (string.Equals(item.DownloadStatus, "available")) { AssetFile.DownloadById(item.AssetId).OnComplete((msg1) => { if (msg1.IsError) { Debug.Log("Error downloading assetID: " + item.AssetId + " " + msg1.GetError().Message); } else { Debug.Log("Downloaded intiated at: " + msg1.GetAssetFileDownloadResult().Filepath); var r = msg1.GetAssetFileDownloadUpdate(); } }); } else { Debug.Log("--------------------------------Asset ID: " + item.AssetId + " Status: " + item.DownloadStatus); } } } }); });2.3KViews1like4Comments[Gear VR] Entitlement check questions
I enabled OOS and used entitlement check BP node: When I run my app in Gear VR, the app quits, naturally (since my app isn't in the Store). My questions are: 1. How do I check if entitlement works for "On Success" ? 2. When I submit for review for my alpha release channel, I am sure it will quit the same way it does on me right now when Oculus tests it, which will automatically flag my app for rejection. What do I need to do for this not to happen ? Thanks1.2KViews1like5Comments