Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mike.golembewski's avatar
2 years ago
Solved

Cannot add Meta Avatars SDK (v29.7.0) to a clean project in Unity. [Solved!]

Hello! I am currently unable to set up the newest Meta Avatars SDK (v29.7.0).  Every time I try to install, it raises the same three errors : Library\PackageCache\com.meta.xr.sdk.core@68.0.3\Scrip...
  • mike.golembewski's avatar
    2 years ago

    OK!  I think I've found a working solution here.  I'm pretty sure the issue has to do with the order in which the packages are installed.  The Avatars SDK must be installed first, followed by the All-In-One SDK.

    I was able to get the Meta Avatars SDK (29.7) to work in a project with Meta All-In-One SDK (68.0.2) by:

    1. Starting with a clean (no meta packages) project.
    2. Adding the Meta Avatars SDK (29.7) via the package manager.
    3. Adding the Meta All-In-One SDK (68.0.2) via the package manager.

    I was also able to 'upgrade' a project by :

    1. Removing the existing Meta Avatars SDK (24.1) via the package manager.
    2. Removing the existing All-In-One SDK (68.0.1) via the package manager.
    3. Adding the Meta Avatars SDK (29.7) via the package manager.
    4. Adding the All-In-One SDK (68.0.2) via the package manager.

    This worked for me - right up until I quit the browser and restarted.  At that point, the errors came back (along with some console flooding for good measure).  This was repaired, though, after I cleared the library package cache and restarted,  It's been working well since, although it seems that a number of features have been removed as of the latest version (networking and colocation building blocks, interaction building blocks, etc,,,).