"The type or namespace name 'VRC' could not be found" (CS0246) - VRChat SDK fix
Quick fix
- Open this project in VCC (or ALCOM)
- Add "VRChat SDK - Avatars" (or update it to the latest version if it's already there)
Want it checked automatically? Avatar Setup Doctor explains red errors and finds missing tools in one click - free version. Try it free
What you see on screen:
error CS0246: The type or namespace name 'VRC' could not be found
What it means
Unity can't find or load the VRChat SDK.
Common causes
- VRChat SDK - Avatars is not installed
- The project was created without VCC/ALCOM
- The SDK failed to load because of another error
How to fix it
- Open this project in VCC (or ALCOM)
- Add "VRChat SDK - Avatars" (or update it to the latest version if it's already there)
- Reopen Unity
Before you change anything, make a full copy of your project folder so you can go back.
Fix this automaticallyAvatar Setup Doctor adds a window to Unity. Press Diagnose and it lists what's wrong with your avatar project, why, and how to fix it - the paid version fixes many issues in one click. Free version available.
For this problem, it checks whether the SDK is installed.
Get Avatar Setup Doctor (Free version available)
For this problem, it checks whether the SDK is installed.
Get Avatar Setup Doctor (Free version available)