MoralisWeb3 / unity-web3-game-kit

Unity Web3 Game Kit is the fastest way to connect and build games for Web3. It provides a single workflow for building high performance dapps. Fully compatible with your favourite platform.
MIT License
536 stars 222 forks source link

I got the message "The associated script can not be loaded..." when I clicked MoralisSetup of DemoScene. -> resolved #58

Closed hheungsu closed 2 years ago

hheungsu commented 2 years ago

I imported the package moralisweb3sdk_v1_0_6.unitypackage and followed the tutorial but met the error below when I clicked MoralisSetup of DemoScene : "The associated script can not be loaded. Please fix any complie errors and open Prefab Mode and assign a valid script to the Prefab Asset." I use the Unity 2021.2.11f1 and Visual Studio for Mac[8.10.10]. How can I fix this issue? Please help me!

hheungsu commented 2 years ago

I fixed the issue by the tutorial (build setting>player>check unsafe code) and build again.

xactant commented 2 years ago

Closing as this was solved by the user.

lazy1523 commented 2 years ago

I'm having the same problem, but it can't be solved by build setting>player>check unsafe code. unity version 2021.2.17f1c1