unity-web3-game-kit icon indicating copy to clipboard operation
unity-web3-game-kit copied to clipboard

Conflicting assemblies (Ambiguous Invocation)

Open LiamVisionary opened this issue 2 years ago • 3 comments

Hi, I have both Chainsafe's Unity SDK installed and now Moralis, but since installing Moralis, I've been getting an issue about ambiguous invocation. For example these 3 methods:

` public bool IsVSignedForChain() { return V.ToBigIntegerFromRLPDecoded() >= 35; }

    public bool IsVSignedForLegacy()
    {
        var v = V.ToBigIntegerFromRLPDecoded();
        return v >= 27;
    }

    public bool IsVSignedForYParity()
    {
        var v = V.ToBigIntegerFromRLPDecoded();
        return v == 0 || v == 1;
    }`
    
    are ambiguously called V.ToBigIntegerFromRLPDecoded() since it exists both in the Netherium assembly and Assembly-CSharp-FirstPass.

In addition, WebSocket.jslib is conflicting with the one I'm using in my Photon networking plugin.

LiamVisionary avatar Jun 09 '22 20:06 LiamVisionary

Which version of the Unity SDK are you using.

xactant avatar Jun 13 '22 14:06 xactant

The WebSocket.jslib will be fixed in the next release

KoenRijpstra avatar Jul 01 '22 19:07 KoenRijpstra

WebSocket.jslib conflict is fixed in the latest 1.2.3 release! 🎉

KoenRijpstra avatar Jul 08 '22 13:07 KoenRijpstra