Unity运行失败,Unsafe code may only appear if compiling with /unsafe
unity报错,Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error。
解决办法:Edit->Project Settings->Player, 勾选上Allow 'Unsafe Code'选项