A3DPlaybackAvatar exception

17 views
Skip to first unread message

suzan

unread,
Dec 17, 2011, 1:35:51 PM12/17/11
to Activate3D-ICM
Hello,
I'm trying to add a playback avatar to my scene, I've added the avatar
and attached the "A3DPlaybackAvatar" and "playback" scripts to it

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.

Dan

unread,
Dec 19, 2011, 11:08:12 AM12/19/11
to Activate3D-ICM
Suzan,

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

Suzan Momani

unread,
Dec 21, 2011, 11:51:13 AM12/21/11
to activat...@googlegroups.com
Hello Dan,
thanks for the response.

but where i can fine these updated dlls?

Dan

unread,
Dec 21, 2011, 1:03:21 PM12/21/11
to Activate3D-ICM
They are posted on the group. You can find them at the bottom of the
thread where Shaun originally posted A3DPlaybackAvatar.cs

http://groups.google.com/group/activate3d-icm/browse_thread/thread/d2f65aff74c25c62/034eb4ab8555f48c

dba
Reply all
Reply to author
Forward
0 new messages