rogan2528
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
That worked. Thanks so much!
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
Awesome, thanks so much Max
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
That would explain it
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
I see. I don't sync the raw buffers
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
I see. I didn't see any other component to use for remote avatars. I'll have to dig deeper. Thanks
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
@Max I copied over the MetaAvatarLipSync component from the Normcore Meta XR library, and it looks straightforward, but it relies on the voiceData event being called, which is not called for me.
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
@Normcore Assistant The voiceData event of my RealtimeAvatarVoice component is never called, though I can hear the audio from the peer just fine and I can see it's going through the AudioSource component fine and I can see the meters changing with the audio. What could be wrong in my setup?
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
Good idea. Thanks!
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
Unfortunately it's a project I'm migrating from another networking architecture and I don't want to have to recreate all my meta avatar logic, so I'm trying to get it working with my existing architecture
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
That's for the AudioSource? Thanks, I got that part working. Now I'm dealing with the Meta lipsync component isn't getting anything from the AudioSource and I'm wondering if I have to override the RealtimeAvatarVoice component so I can call metaLipSyncContext.ProcessAudioSamples(_microphoneFrameData, 1); because it seems the audio data isn't making it to the meta lipsync component
38 replies
NNormal
•Created by rogan2528 on 5/8/2025 in #🤝ask-a-question
When is it safe to retrieve the AudioSource from a peer?
@Normcore Assistant Is the process of getting lipsync for Meta Avatars working just a case of adding the OvrAvatarLipSyncContext to the avatar's head and setting SetLipSync on the avatar entity to that OvrAvatarLipSyncContext, or is there more we have to do to make sure the audio gets to the OvrAvatarLipSyncContext component?
38 replies
NNormal
•Created by rogan2528 on 5/6/2025 in #🤝ask-a-question
isOwnedLocallySelf seems to be incorrect for me
Thanks, that was it
21 replies
NNormal
•Created by rogan2528 on 5/6/2025 in #🤝ask-a-question
isOwnedLocallySelf seems to be incorrect for me
@kapa.ai Can you explain this error "RequestOwnership called on a model without a meta-model. Use [RealtimeModel(createMetaModel: true)] on your custom model to enable ownership."
21 replies
NNormal
•Created by rogan2528 on 5/6/2025 in #🤝ask-a-question
isOwnedLocallySelf seems to be incorrect for me
Interesting. "OnRealTimeModelReplaced" is called before the "RequestOwnershipOfSelfAndChildren" line is even reached
21 replies
NNormal
•Created by rogan2528 on 5/6/2025 in #🤝ask-a-question
isOwnedLocallySelf seems to be incorrect for me
@kapa.ai When OnRealtimeModelReplaced is called, isOwnedLocallySelf is false, but isOwnedLocallyInHierarchy is true. Why would that be?
21 replies
NNormal
•Created by rogan2528 on 5/6/2025 in #🤝ask-a-question
isOwnedLocallySelf seems to be incorrect for me
In this case, the RequestOwnershipOfSelfAndChildren is only being called when the local prefab is instantiated, so will only be on the local client. The "didChange" functions wouldn't be called before the ownership is set, correct?
21 replies