but when i run the program i have this exception :
EntryPointNotFoundException: CSharp_Model_SWIGUpcast
ActivateNET.Model..ctor (IntPtr cPtr, Boolean cMemoryOwn)
ActivateNET.A3DApplicationSessionWrapper.CreateModel ()
A3DPlaybackAvatar.InitializeAvatar () (at Assets/Activate3DPackage/
Scripts/A3DPlaybackAvatar.cs:124)
A3DPlaybackAvatar.Update () (at Assets/Activate3DPackage/Scripts/
A3DPlaybackAvatar.cs:113)
If any one can help me with this i'll appreciate it.
Thanks.
When Shaun posted that code, he also posted updated DLLs which are
necessary to use the code. From your description of the problem, you
are using a mixture of DLLs. Some are updated, but some are not. When
I run in that configuration, I get the same error.
Within the Unity sample, there are three locations that need to be
updated:
$(ICM_SDK)\Samples\UnitySamples\Assets\ActivateNET.DLL
$(ICM_SDK)\Samples\UnitySamples\ActivateNET.DLL
$(ICM_SDK)\Samples\UnitySamples\ActivateNative.DLL
If you update only the first location, then you will resolve the
script compilation error in Unity since that version of
ActivateNET.DLL will expose the necessary upcast operator. However, at
runtime, the operator will not exist and you'll get the
EntryPointNotFoundException. Updating all three locations with the
DLLs from this group should resolve the problem.
dba