Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Ant+ data in Unity

Rank

Total Posts: 2

Joined 2020-03-19

PM

Hello. I've managed to compile the app in VS and I'm able to receive data from my sensors.
Now I need to get these values in the Unity project.
But when I'm trying to compile it inside the Unity project I have the error:
Failed to load 'Assets/Scripts/ANT/ANT_Managed_Library/ANT_WrappedLib.dll', expected x64 architecture, but was x86 architecture. You must recompile your plugin for x64 architecture.

Is it possible to recompile the lib as x64?
Thanks in advance.      
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

https://www.thisisant.com/forum/viewthread/6954/ may be helpful      

Signature

Ian Haigh

Rank

Total Posts: 2

Joined 2020-03-19

PM

haighi - 04 May 2020 11:43 AM
https://www.thisisant.com/forum/viewthread/6954/ may be helpful

Thank you for the answer. I'll try to learn more about writing a custom surrogate and wrappers.      
Rank

Total Posts: 1

Joined 2020-02-17

PM

There are some assets in the Unity Asset store which allow Ant+ communication. I haven't used them so can't comment. Another option, which worked for me, is to use an older version of Unity which is only 32 bit. I used 5.6.7 which was adequate for my purposes.      
Rank

Total Posts: 4

Joined 2020-12-01

PM

will the ant plus assets from unity works with any ant+ USB dongle