在Edit里找到Project Settings然后再找到player (我这里调成了中文) 下拉找到使用确定性编译 (Use Deterministic Compilation) 取消勾选然后等读条之后就可以添加脚本了