The type or namespace name 'EntityId' could not be found

What do you need help with?

Question

Installation method

Unity Asset Store

Issue area

Lip Sync / Facial Animation

Impact

Blocker - I cannot continue

Unity version

6000.0.77

Convai Unity SDK version

4.3.0

Target platform

Android

Where does it happen?

Both sample and custom scene

Short summary

am not able to update from 4.1 to 4.3. causing a issue assembly reference

What happened?

we were having some issue with handfree mode. while checking with team .. you people asked us to update to current version .. while updating we are getting missing assembly reference “EntityId’ could not be found” " private readonly HashSet _uniqueMeshIds = new();".

i have tough i would removed any reference or missed it .. in order to double confirm so i have create a new fresh unity project to try importing the “NPC AI Engine - Dialog, actions, voice and lipsync - Convai” from asset store. on the Fresh project.. even then also am getting a same missing assembly reference. please find the below log
Assets\Convai SDK For Unity\SDK\Modules\LipSync\Sinks\SkinnedMeshBlendshapeSink.cs(29,34): error CS0246: The type or namespace name ‘EntityId’ could not be found (are you missing a using directive or an assembly reference?)

Steps to reproduce

  1. open up fresh project
  2. import the “NPC AI Engine - Dialog, actions, voice and lipsync - Convai” asset from unity asset store

Screenshots, recording, logs, or minimal repro

I checked the relevant documentation, resources, and similar forum posts before posting.

on

I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.

on

Hello,

Could you please update your Unity version and test again?

HI K3,

After Updating the unity version to 6000.5.0f1 .. this time got the different issue.. Error : “Assets\Convai SDK For Unity\SDK\Runtime\Animation\BlendshapeTargetKey.cs(35,47): error CS0619: ‘Object.GetInstanceID()’ is obsolete: ‘GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.’”
have tried with a New project again. and tried to update the Existing project as well..

i have replaced the GetInstanceID to GetEntityId " int meshHash = Mesh != null ? Mesh.GetEntityId() : 0;" the issue remains the same “Assets\Convai SDK For Unity\SDK\Runtime\Animation\BlendshapeTargetKey.cs(35,47): error CS0619: ‘EntityId.implicit operator int(EntityId)’ is obsolete: ‘EntityId will not be representable by an int in the future. This casting operator will be removed in a future version.’”

Noted

Since we will not be able to update our current unity project ( main branch) , due to some other dependencies.. i would request to you, if possible please provide us the solution to current unity version 6000.0.77. that would be really help full

i have tested next supporting version of 6000.0.78 LTS. even then the issue of ‘EntityId’ remains the same “Assets\Convai SDK For Unity\SDK\Modules\LipSync\Sinks\SkinnedMeshBlendshapeSink.cs(29,34): error CS0246: The type or namespace name ‘EntityId’ could not be found (are you missing a using directive or an assembly reference?)”

It works on my side. Please delete the old plugin and reinstall it using the UPM method:

Hi K3,

Thank you for the update …

Tried the Same by using UPM method. Still the issue remain same on unity version 6000.0.77 on 6000.5.0f1. but it Worked on 6000.3.19 and 6000.4.3. the reason for sticking with 6000.0.77 is because of some other dependencies of the project .. let me check once again with Team for upgrading the unity project from 6000.0.77 to 6000.3.19. and get back to you .. but a gentle notification on Convai asset store page and doc, it mention that it Convai supports the unity 6000.0 version as well.

Thank you

Hi, K3

internally we had a discussion with in the team.. we would perfect on 6000.0.77 right now.. if possible let us know.. do we need to upgrade the unity version for sure in order to Clear this issue?

Unity 6000.0 includes changes related to the Skinned Mesh Renderer.

You have a few options:

You can manually adjust the code for Unity 6000.0 compatibility, wait for our upcoming update, or upgrade your project to a newer Unity version.

Please note that the update may take a few weeks to be released, so upgrading your Unity version may be the faster option if you need to resolve the issue sooner.