Giter VIP home page Giter VIP logo

Comments (3)

enlight avatar enlight commented on July 17, 2024

Does the original Nethereum use the real System.Numerics.BigInteger or do they have a customized version? If the Editor post-processor hack works reliably on Windows/Mac/Linux then I'd be in favor of switching to System.Numerics.BigInteger. Is that the only reason we have a Nethereum fork?

from unity-sdk.

ZimM-LostPolygon avatar ZimM-LostPolygon commented on July 17, 2024

The original Nethereum uses the real System.Numerics.BigInteger type, the customized version was made by me. But no, that's not the only reason for the fork - its initial purpose was to change the namespace, so as to avoid conflicts. Also, the fork uses an older version of NewtonSoft.Json, since no AOT-friendly newer versions exists.

I'll do the check on macOS and Linux Unity editors, but generally, the modification is trivial enough to be reliable across the board.

from unity-sdk.

ZimM-LostPolygon avatar ZimM-LostPolygon commented on July 17, 2024

@enlight
Turned out, even though would happily accept the modified project, and it would use an assembly that uses System.Numerics just fine, it would still refuse to compile the code itself, so this approach with hacking the project files isn't working in the end.
However... System.Numerics.dll is just 90 kB, and now I don't see any harm in just including it with the Loom SDK, at least until Unity fixes their bug with System.Numerics not being referenced by default.

from unity-sdk.

Related Issues (11)

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.