Giter VIP home page Giter VIP logo

Comments (6)

MattGrayUL avatar MattGrayUL commented on May 29, 2024 1

Ah, I understand you now

I have made a Pull Request to address this as a feature, the team will review, test and release when we have capacity to :)

The feature will immediately suppress the warning after you "continue" the first time, and you can toggle the warning in the Ultraleap Settings window

from unityplugin.

MattGrayUL avatar MattGrayUL commented on May 29, 2024

The Android build is done with Mono and not IL2CPP to avoid certain restrictions of AOT in terms of loading assemblies dynamically.

AFAIK we don't have a requirement to use Mono, can you share the error you are getting please?

(I just made a windows build using IL2CPP and Ultraleap tracking to test, and it builds and runs)

from unityplugin.

bdovaz avatar bdovaz commented on May 29, 2024

@MattGrayUL error none, warning coming from your code:

if (PlayerSettings.Android.targetArchitectures != AndroidArchitecture.ARM64) // Must be only arm64 so direct equality check, not checking for IL2CPP explicitly because it's required to select ARM64 anyway...

That warning suggests switching to ARM64 + IL2CPP but as I say, in our case it doesn't apply because we don't use Ultraleap on Android, only on Windows.

But I would like that warning could be removed somehow because it is very annoying to see it continuously.

from unityplugin.

MattGrayUL avatar MattGrayUL commented on May 29, 2024

If I understand you correctly, you are using a Windows machine to build an Android app and want to use Mono scripting backend. Is that correct?

When using Mono, you cannot also use the ARM64 architecture. We only support the ARM64 architecture when building for android

Are you expecting to target a different Android architecture?

from unityplugin.

bdovaz avatar bdovaz commented on May 29, 2024

We are not understanding each other.

I am building from a Windows machine (although this is not relevant to the problem) with target to Android with Mono + ARM V7 (32 bit).

As you see in your code, I get a warning because I am not using IL2CPP + ARM64.

But as I say in our case we are not using Ultraleap to target Android (we use native hand tracking) we are using it only when targeting Windows so I would like that this warning dialog was not so invasive and could be configured not to appear.

Thank you.

from unityplugin.

MattGrayUL avatar MattGrayUL commented on May 29, 2024

this has now been released as part of 6.13.0 https://github.com/ultraleap/UnityPlugin/releases/tag/com.ultraleap.tracking%2F6.13.0

from unityplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.