blk_lvx
blk_lvx7d ago

URP

Hi everyone, I recently discovered normcore and I don't understand why it took me so long to discover it. I deal with the design of VR environments especially for research, I'm trying to integrate multiplayer into my projects to allow the experimenter to participate in the experiment together with the participant. I managed to build the Normcore demo scenes with normal graphics but I can't with URP. In play from unity I see the avatar and I read in the console that it is connected but from build (quest 2 and quest 3) the personal avatar and the other user's avatar do not appear so I imagine they are not connected. I wanted to know if it is a solvable problem or if it is not possible to use URP. At the moment I use 2022.3.61
13 Replies
kapa.ai
kapa.ai7d ago
Hi @blk_lvx. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It sounds like you're experiencing an issue with Normcore avatars not appearing in your URP (Universal Render Pipeline) build for Quest devices, even though they work in the Unity Editor. This is likely related to a connectivity issue rather than a URP compatibility problem. Normcore is compatible with URP, but there are some common issues that can occur when building for XR devices. Based on the information provided, here's what might be happening: 1. Since you can see the avatar in the Unity Editor and the console shows it's connected, but the avatars don't appear in the Quest build, this suggests a connectivity or initialization issue specific to the XR build. 2. This is a known issue that can occur with XR builds. As mentioned in the documentation: "Some Unity XR project settings can block internet connection in builds" Common Questions. To fix this issue: 1. Use the Project Validation tool to identify and fix any connectivity issues. You can find this in Edit > Project Settings > XR Management > Project Validation. 2. Make sure you've properly initialized the Oculus Platform SDK if you're using Meta avatars. 3. Check that your build has the proper internet permissions enabled. 4. Verify that your Normcore version is compatible with your Unity version (2022.3.61). If you're still experiencing issues after checking these settings, you might want to reach out to the Normcore community for more specific help with your URP setup. URP itself should work fine with Normcore - the issue is more likely related to the XR build settings rather than the rendering pipeline. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai7d ago
<@427442362617430036> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
maxweisel
maxweisel7d ago
URP should work great. Are you using the regular sample assets or have you tried importing the URP versions via the included .unitypackage?
blk_lvx
blk_lvxOP7d ago
Hi, Max I didn't find normcore on the asset store, I downloaded and imported the package from the site, then I also unpacked the internal example urp package
maxweisel
maxweisel7d ago
that’s the correct unitypackage. unfortunately, I’m not sure why you wouldn’t see anything rendered. what version of unity are you on and are any other URP objects in the scene rendering such as the colored cubes?
blk_lvx
blk_lvxOP7d ago
I'm using version 2022.3.61 maybe I explained myself badly. I can see the URP environment perfectly, but when I open the build on oculus I can't see my hands and I can't see the other participant
maxweisel
maxweisel7d ago
does RealtimeAvatarManager have the URP player prefab variant set on it? maybe it’s instantiating the non-URP version
blk_lvx
blk_lvxOP7d ago
If I mean the real time + VR Player prefab it is taken from the URP folder and has the associated VR Player URP prefab
maxweisel
maxweisel7d ago
dang then I’m really not sure m nothing in Normcore is non-URP compatible but you may need to make the player geometry yourself
blk_lvx
blk_lvxOP7d ago
I don't know, I think it's some problem in the build settings. Let's see if anyone has any ideas, thank you very much
maxweisel
maxweisel7d ago
the thing that’s odd is if other URP objects are rendering I don’t know why these would be treated any differently. Networked objects don’t render any differently than the rest of the scene. Maybe the materials on them are referencing out of date URP shaders?
blk_lvx
blk_lvxOP7d ago
I would say no, I'm just trying to build the normcore urp vr demo scene I just did it! In other settings I enabled auto graphic API
maxweisel
maxweisel7d ago
I’m surprised the other URP stuff rendered if that was the fix but I’m glad to hear it was an easy one and you got it working!

Did you find this page helpful?