forums.naturalpoint.com

Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

Unity Editor crashing with NPTrackingToolsx64.dll

by fraolies » Fri May 04, 2018 1:10 am

Hi,
I'm trying to create an AR application using a V120:DUO tracker together with Unity game engine, for this purpose I'm writing a custom C++ DLL that is using the Motive API library(My code is based on the C++ IR marker tracking sample), which then will be loaded into the Unity environment with all the needed Motive DLL(NPTrackingToolsx64, avcodec-56, avformat-56, etc...).
In Unity I test my application starting Play Mode with Unity Editor. Inside my application code when I stop the play I close the data acquisition with TT_Shutdown(). If I try to play again the application inside the Editor (so starting again the data acquistion pipeline from Motive with TT_Initialize(), TT_Update... ) I have a crash with this error:
NPTrackingToolsx64.dll caused an Access Violation (0xc0000005)
in module NPTrackingToolsx64.dll at 0033:e92b0157.

Hoping I made myself clear, thanks for your help
fraolies
 
Posts: 1
Joined: Mon Apr 09, 2018 2:51 am

Return to Motive