unity打包场景失败报错
错误:
Error building Player because scripts had compiler errors
The type or namespace name ‘XXX’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)
检查自己的脚本是不是调用了UnityEditor的方法,注释掉就可以了
unity打包场景失败报错
错误:
Error building Player because scripts had compiler errors
The type or namespace name ‘XXX’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)
检查自己的脚本是不是调用了UnityEditor的方法,注释掉就可以了