4 Replies
Hi @Axo. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
If your “Realtime + VR Player” prefab is missing scripts, it’s usually due to an incomplete/older Normcore import or using the wrong prefab/reference. Try these steps:
- Re-import the latest Normcore package via the Normal scoped registry/Package Manager, then restart Unity. This often fixes missing/Unity version compatibility issues (e.g., after upgrading Unity) (Getting Started).
- Open the example scene “Realtime + VR Player” from Normal/Examples to verify the prefab loads with all scripts. Add your App Key and press Play to confirm it spawns correctly (Getting Started).
- Ensure you’re instantiating realtime prefabs via Realtime.Instantiate and that the prefab lives in a Resources folder and has a RealtimeView on the root. Unity’s Instantiate or a bad prefab can lead to null/missing model/components at runtime (Realtime API > Prefabs, RealtimeComponents FAQ).
- For XR avatars, confirm you’re using the provided “Realtime + VR Player” or create a new avatar via RealtimeAvatar/RealtimeAvatarManager as documented. The manager auto-spawns the local avatar when connected if the prefab is set up correctly (XR Avatars and Voice Chat, XR Avatars Reference). If you recently upgraded Unity and now see editor/runtime errors, update to the latest Normcore version in Package Manager (not “My Assets”) to pick up compatibility fixes, then restart Unity ([Support QA Part 1]). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
- Open the example scene “Realtime + VR Player” from Normal/Examples to verify the prefab loads with all scripts. Add your App Key and press Play to confirm it spawns correctly (Getting Started).
- Ensure you’re instantiating realtime prefabs via Realtime.Instantiate and that the prefab lives in a Resources folder and has a RealtimeView on the root. Unity’s Instantiate or a bad prefab can lead to null/missing model/components at runtime (Realtime API > Prefabs, RealtimeComponents FAQ).
- For XR avatars, confirm you’re using the provided “Realtime + VR Player” or create a new avatar via RealtimeAvatar/RealtimeAvatarManager as documented. The manager auto-spawns the local avatar when connected if the prefab is set up correctly (XR Avatars and Voice Chat, XR Avatars Reference). If you recently upgraded Unity and now see editor/runtime errors, update to the latest Normcore version in Package Manager (not “My Assets”) to pick up compatibility fixes, then restart Unity ([Support QA Part 1]). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@1171407308287397978> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
make sure your project is in a compiling state
try deleting the library folder
try deleting normcore and reimporting
if that doesn't work try importing to a blank project to verify it works at all
did these files come from importing the Normcore .unitypackage? also which Unity version are you on?