cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Thingworx .NET SDK with Unity - "EntryPointNotFoundException: SetDllDirectory"

jwindsor
1-Visitor

Thingworx .NET SDK with Unity - "EntryPointNotFoundException: SetDllDirectory"

I'm having a difficult time getting Unity to load the Thingworx .NET SDK. I get

EntryPointNotFoundException: SetDllDirectory

com.thingworx.communications.client.TwApiWrapper.SetPathOfCoreLibrary ()

Rethrow as TypeInitializationException: An exception was thrown by the type initializer for com.thingworx.communications.client.TwApiWrapper

com.thingworx.communications.client.BaseClient.initialize ()

com.thingworx.communications.client.BaseClient..ctor (com.thingworx.communications.client.ClientConfigurator config)

com.thingworx.communications.client.ConnectedThingClient..ctor (com.thingworx.communications.client.ClientConfigurator config)

LightTest.Start () (at Assets/LightTest.cs:32)

where LightTest.cs:32 is: client = new ConnectedThingClient (config);

My directory structure is:

Assets

     LightTest.cs

     LightThing.cs

     Test.unity

     Plugins

          Newtonsoft.Json.dll

          thingworx-dotnet-common.dll

          x64

               twApi.dll

          x86

               twApi.dll

Any tips or recommendations will be greatly appreciated. Thanks!

0 REPLIES 0
Announcements


Top Tags