Ryllexya
Ryllexya4w ago

glb downloads

I was wondering if anyone has any knowledge of glb files in VR. I'm downloading avatars at runtime, in a VR app, Oculus Quest 2. When it is downloaded, it makes the screen go black for a few seconds. The logcat doesn't produce any errors, it just seems to refresh itself when it does the download. Someone else enters the room, their avatar starts downloading - I get black screen for 2-3 seconds too of course. Everyone gets it, it's not a random occurrence. I've worked previously with fbx files only and never had this issue, so I'm wondering if it has something to do with the fact its a glb file and/or the textures? The Gltf Asset component on the avatar prefab (which accepts the downloaded glb file with the avatar model in it) looks like this. The URL is empty, because that comes in from a database after you enter the room.
No description
2 Replies
kapa.ai
kapa.ai4w ago
Hi @Ryllexya. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The information provided in the knowledge sources does not cover the specific issue you're experiencing with glb files causing a black screen during download in a VR app. However, I can tell you that in NormalVR, when the last player leaves a room, the room server will remain running for about 30 seconds before it's shut down. Any objects that are not flagged to destroy will be written to persistent storage and restored instantly when someone joins the room again source (https://normcore.io/documentation/realtime/common-questions#what-happens-to-my-objects-when-a-room-server-shuts-down). Also, it's important to note that you cannot add RealtimeComponents at runtime in Normcore. Normcore uses metadata on the prefab in order to connect RealtimeComponents on all clients source (https://normcore.io/documentation/realtime/common-questions#can-i-add-realtimecomponents-at-runtime). For more specific information about handling glb files in VR, I would recommend checking the official documentation or reaching out to the support of the VR platform you're using. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4w ago
<@164038313924231178> kapa.ai is still learning and improving, please let us know how it did by reacting below