allartprotocol / unity-solana-wallet

The First Open-Source Unity-Solana Wallet with NFT support
282 stars 128 forks source link

Unity Build error #37

Closed GameOverDreams closed 1 year ago

GameOverDreams commented 1 year ago

Unity is failed to create build while creating with il2cpp. Error are as follows:

Building Library\Bee\artifacts\Android\iz17e\libil2cpp.so failed with output: D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:0: error: undefined reference to 'DownloadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:7793: error: undefined reference to 'DownloadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:8425: error: undefined reference to 'UploadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:9206: error: undefined reference to 'UploadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:11902: error: undefined reference to 'DownloadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:11902: error: undefined reference to 'DownloadFile' D:/GAMEOVERDREAMS/DemiGodZ/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp.cpp:14003: error: undefined reference to 'UploadFile' clang++: error: linker command failed with exit code 1 (use -v to see invocation) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

GameOverDreams commented 1 year ago

Found the solution: Standalone File Browser was the problem. Remove it and the upload and download functions from the scripts which are saved in Solana Wallet\1.0.0\Simple Wallet\Solana Wallet\1.0.0\Simple Wallet\script\example\scenes.