TDx.TDxInput.dll for .NET 4.0

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Hightree
Posts: 20
Joined: Fri May 11, 2007 1:09 am

Re: TDx.TDxInput.dll for .NET 4.0

Post by Hightree »

I've made an attempt of driving the driver with the new approach.
This works once, but crashes when entering play mode or loading a new scene. No idea how player builds, mac or IL2CPP behave.
It's challenging to implement the correct life cycle for this driver in unity, not to mention very uncharted territory.
Hit any user to continue.
ngomes
Moderator
Moderator
Posts: 3321
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: TDx.TDxInput.dll for .NET 4.0

Post by ngomes »

Hi Hightree,
Hightree wrote: Thu Mar 05, 2020 1:10 am I've made an attempt of driving the driver with the new approach.
This works once, but crashes when entering play mode or loading a new scene.
What driver is crashing? Are you having a problem with recent 3Dconnexion drivers? If so, we'd like to get that addressed sooner rather than later.
Hightree
Posts: 20
Joined: Fri May 11, 2007 1:09 am

Re: TDx.TDxInput.dll for .NET 4.0

Post by Hightree »

Sorry for the ambiguous remark, it's my driver which is crashing Unity.
Having a self-starting plugin causes complications with assembly reloading.
I can't find a reliable way to remove the hook in time and I think that adding it twice crashes Unity.
Normal Unity singleton implementations don't apply in this situation and it's a pretty uncommon, undocumented use-case with little google hits to go on.
Hit any user to continue.
Post Reply