This website uses cookies. By clicking Accept, you consent to the use of cookies.
Click Here
to learn more about how we use cookies.
Accept
Reject
Browse
VR Forums
Announcements
Get Help
Talk VR
VR Experiences
International
Off-Topic
Ideas
Meta Horizon Worlds
Horizon Worlds Announcements
Horizon Worlds Building Questions
Horizon Worlds Collaboration Requests
Developer
General Development
Quest Development
PCVR Development
OpenXR Development
Unity VR Development
Unreal VR Development
Other VR Development
Accessibility Development
Developer Dashboard
SDK Feedback
Tool Feedback
MVPs
Help
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Meta Community Forums
Developer
General
Avatar not loading
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Avatar not loading
GotBrawndo
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
02-27-2019
10:47 AM
Question i am trying to get my avatar to load in unity
If i put my id in before i launch the application it appears to load but if i do it the way the tutorial suggests it doesn't load
is there some sort of refresh that needs to be called if the avatar object exists in the scene already?
void Start()
{
Oculus.Platform.Core.Initialize();
Oculus.Platform.Users.GetLoggedInUser().OnComplete(OnGetUser);
Oculus.Platform.Request.RunCallbacks();
}
private void OnGetUser(Oculus.Platform.Message<User> message)
{
myAvatar.oculusUserID = message.Data.ID.ToString();
myAvatar.enabled = true;
myAvatar.RecordPackets = true;
myAvatar.PacketRecorded += OnLocalAvatarPacketRecorded;
}
Oculus avatar sdk
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
GotBrawndo
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
02-27-2019
11:58 AM
Never Mind the answer is to disable the ovravatar script and not to enable it until after the id is set
JeffNik
MVP
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
03-07-2019
11:42 AM
Thanks for the solution... I don't remember having to do that last time I tried playing with OvrAvatar. Is this new?
Post Reply
Related Content
Recent Oculus v63 update generates warnings in Unreal about dbgeng.dll / StackWalk2
in
Unreal VR Development
6 hours ago
Hide Meta avatar 2 visual appearance in multiplayer
in
Unity VR Development
12 hours ago
When loading the local anchor point times erro : Anchor must be localized before obtaining its pose.
in
Unity VR Development
Tuesday
VR preview gets hanged with half screen and I'm not able to open in Oculus 3
in
Unreal VR Development
Saturday
Movement SDK - High Fidelity Sample - Problem With Feet
in
Unity VR Development
Friday