If you need to update your SDK, it is important that you follow these steps to ensure the update proceeds properly and you don't have any old/conflicting files.
Here's how you update your SDK. If you're just uploading avatars, you can use the following process:
- Please ensure you're using Unity 2017.4.28f1.
- Download the latest version of the SDK here.
- Close Unity.
- Find your Project folder with Windows Explorer, and find the Assets folder.
- Delete the VRCSDK folder, as well as the VRCSDK.meta file in the Assets folder.
- Go into Plugins, and delete the VRCSDK folder, as well as the VRCSDK.meta file in the Plugins folder.
- Relaunch Unity, and then re-import the freshly-downloaded SDK. Do so by going to Assets, then Import Package, then Custom Package.
- Select the new SDK (you probably saved it in Downloads)
- Wait a moment, and click "Import" in the bottom left. If any files in the list are greyed out/unchecked, and you can't check them, you didn't delete everything you should have! Start over.
- Wait a minute as the SDK finishes importing.
If you're reinstalling the SDK in a project that contains a world using complex trigger setups, here's a safer way to update your SDK.
- Close Unity
- Back up project to another folder (do not back up the Library folder, these files are auto-generated by Unity)
- Delete SDK and Plugins folder, as well as the the associated .META files
- Create a new dummy Unity Project
- Install the latest SDK on the dummy project
- Copy the newly added SDK/Plugin and associated .META files from the dummy project into your original project
- Done. Now you can open your upgraded project, and there will be no crash no matter how complex your trigger work!
If you are updating from a previous version of Unity to a new one that we're swapping to, use this process below.
- If you have Unity Hub installed, you can just click here to install the proper version. Do NOT install the 2017.4 version that's in the list in the Unity Hub. Use our link!
- If installing via the Unity Hub link doesn't work, go to this page, find Unity 2017.4.28, and click the "Unity Hub" button on the far left side.
- If you don't want to use Unity Hub, you can use this link. You only need to install the Editor. You should install the Android Built Support as well if you plan on building content for Oculus Quest.
Updated 3 months ago