Unity Build失败,error CS0234
前言
记录一次Unity Build出现的问题,error CS0234,提示
error CS0234:The type or namespace name ‘SearchService’ does not exist in thenamespace ‘UnityEditor’ (are you missing an assembly reference?)
。
解决方案
首先想到的肯定是脚本中引用了Editor空间,找到具体脚本,并去掉引用,问题解决。