Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Avatar not loading

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()

    private void OnGetUser(Oculus.Platform.Message<User> message)

        myAvatar.oculusUserID = message.Data.ID.ToString();
        myAvatar.enabled = true;
        myAvatar.RecordPackets = true;
        myAvatar.PacketRecorded += OnLocalAvatarPacketRecorded;



  • GotBrawndoGotBrawndo Posts: 3
    Never Mind the answer is to disable the ovravatar script and not to enable it until after the id is set
  • JeffNikJeffNik Posts: 123
    Thanks for the solution... I don't remember having to do that last time I tried playing with OvrAvatar. Is this new?

Sign In or Register to comment.