构建脚本时出错,因为脚本有编译器错误

时间:2018-07-12 09:24:14

标签: c# unity3d scripting compilation visual-studio-2017

我想知道如何为 UWP 构建Unity项目。 (不要与独立应用程序混淆)。我必须使用Unity V 5.2.2f1 。我面临的问题是尝试构建时收到的错误消息。是

  

由于脚本存在编译器错误而导致构建Player出错

我在线上尝试了各种操作,例如重新导入脚本并将脚本移动到Assets> Editor文件夹,但到目前为止还算不上成功。

我想提到我能够为PC,Mac和Linux Standalone构建此应用程序。我只遇到Windows应用商店(SDK:Universal 10)的问题。 也没有与Unity Editor相关的脚本。(Please refer to this link for the error messages)

错误如下: 构建脚本时出错,因为脚本存在编译器错误

资产/标准资产/相机脚本/SmoothFollow.js(32,9):BCE0005:未知标识符:“ wantedRotationAngle”。

资产/标准资产/摄像机脚本/SmoothFollow.js(33,9):BCE0005:未知标识符:“ wantedHeight”。

资产/标准资产/摄像机脚本/SmoothFollow.js(35,9):BCE0005:未知标识符:“ currentRotationAngle”。

资产/标准资产/相机脚本/SmoothFollow.js(42,9):BCE0005:未知标识符:“ currentHeight”。

资产/标准资产/摄像机脚本/SmoothFollow.js(45,9):BCE0005:未知标识符:“ currentRotation”。

资产/标准资产/摄像机脚本/SmoothFollow.js(50,31):BCE0005:未知标识符:“ currentRotation”。

资产/标准资产/摄像机脚本/SmoothFollow.js(53,32):BCE0005:未知标识符:“ currentHeight”。

资产/标准资产/脚本/DragRigidbody.js(29,17):BCE0005:未知标识符:“ body”。

资产/标准资产/脚本/DragRigidbody.js(31,17):BCE0005:未知标识符:“ body”。

0 个答案:

没有答案
相关问题