SciSharp / SciSharp/NumSharp

NumSharp does not allow building with IL2CPP via Unity

Open
#455 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.5k
Forks
205
Avg merge
7d 7h
Merged PRs (30d)
2

Description

Hi, I am having trouble with building an Android app that is using a NumSharp package in Unity.

This is the error that I keep receiving:
IL2CPP error for type 'NumSharp.LAPACKProviderType' in assembly '/UnityProject/Temp/StagingArea/assets/bin/Data/Managed/NumSharp.Core.dll'
Additional information: Value of type 'int' is too large to convert to short.

Any help would be much appreciated! Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android build in Unity with the NumSharp package and inspect the IL2CPP failure for NumSharp.LAPACKProviderType in NumSharp.Core.dll. Investigate the reported int-to-short conversion, then verify that the Unity IL2CPP build completes without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp, unity
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.