10-08-2024 04:07 PM
I am getting the following errors when trying to add the new Meta Avatars SDK Sample Assets to a clean project using Unity 2022.3.22f1:
Assets\Samples\Meta Avatars SDK\29.7.0\Sample Scenes\Scripts\UI\UILogger.cs(367,17): error CS0246: The type or namespace name 'UIInputControllerButton' could not be found (are you missing a using directive or an assembly reference?)
Faild to find entry-points:
Assets\Samples\Meta Avatars SDK\29.7.0\Sample Scenes\Scripts\UI\UILogger.cs(367,17): error CS0246: The type or namespace name 'UIInputControllerButton' could not be found (are you missing a using directive or an assembly reference?)
What steps can I take to resolve errors?
10-10-2024 02:57 AM
I had the similar errors a few days ago.
My guess is the Avatars SDK had a big update but we didn't get updates on the other packages like Core SDK (v68.0.2). I assume these errors are casued of that.
I just saw that an update(v69) is released yesterday (9th of October) but didn't arrive yet through the assetstore. So you can try with updating all SDKs
10-15-2024 10:05 AM - edited 10-15-2024 10:09 AM
Thanks @factive, I was excited to try and update to the latest release. However, when I updated (to Meta All In One v69), I found that I am still getting the same Meta Avatars error listed in my original post. Additionally, I am now experiencing a new issue where after I update and the editor restarts, I get endless errors saying that the path to my package cache is empty as outlined in this post:
https://communityforums.atmeta.com/t5/Unity-Development/Empty-Environment-Path-Package-Path-Location...
This is happening in a clean project and in an existing project that I will eventually need to update. I am using Unity version 2022.3.22f1.
10-17-2024 02:08 AM
Hello @Ogethel I don't have the similar problems like you do but I am also having issues.
I had similar endless errors like you had with other packages. Creating a clean project is supposed to overcome. I wonder if these errors because of an another package. For the updated project, deleting Package Cache (manually removing folders inside package folder) should be the solution as well.
Also, try with the update Unity version. 2022.3.50 is available currently. It might be a solution to your crashing problems.
10-17-2024 03:13 AM
I could not confirmed from the documenation but, I just figured out that installing Avatars SDK installs version 59 of Core SDK. So, keeping that or updating SDK to an older version, such as 67, might work for both of us.