Search Unity

Question Exception only running on Hololens

Discussion in 'VR' started by brodonza94, Apr 16, 2021.

  1. brodonza94

    brodonza94

    Joined:
    Apr 2, 2021
    Posts:
    4
    Hi...
    I'm using a library (NumpyDotNet) to do some math calculations.
    When I run the app on Hololens 2 (or emulator), a particular operation throw an exception.
    If I run the same project, same code with the same input values on Unity, with debugger attached, everything works fine.
    Could you help me understand what is going on?!? Are there known limitations of this kind?
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    The only thing I can think of is that NumpyDotNet is doing something that ARM64 doesn't like. Without knowing more (at least a exception call stack?) not much more I can tell you.

    And I've never used NumpyDotNet so I can't help you with that directly.
     
  3. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    There is the chance that it's an il2cpp issue but that's beyond my ken. Not sure an appropriate other forum to post in right now.
     
    brodonza94 likes this.
  4. brodonza94

    brodonza94

    Joined:
    Apr 2, 2021
    Posts:
    4
    I just inspected the library and I saw some dynamic keyword...
    I think this might be the problem with IL2CPP.
    Thanks!