MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

build.ps1 build script not running locally

Open fast-slow-still opened this issue 7 years ago • 1 comments

Describe the bug

Running the build script locally generates errors and fails to generate .unitypackage files.

To reproduce

Steps to reproduce the behavior:

Here are full steps I took to perform the build:

  1. Start from clean copy of mrtk_development branch.
  2. Load project into Unity
  3. Open HandInteractionExamples scene. 3.5 Import TextMeshPro Essentials 3.6 Restart Unity
  4. Open File > Build Settings
  5. Select: a. Platform => PC, Mac, & Linux Standalone b. Architecture => x86 c. All other settings default.
  6. Hit Build button
  7. Check that build completed successfully.
  8. Change to: a. Platform => UWP b. Development Build check c. Script Debugging check
  9. Hit Build button
  10. Check that build completed successfully
  11. Run Assets > Retarget to DLL
  12. Check that retarget completed successfully.
  13. On command line, run powershell .\build.ps1 -OutputDirectory .\MyDir -Version 0.3.1 -UnityVersion 2018.3.7f1 >buildlog_0.txt

Expected behavior

build.ps1 to run without errors, and generate .unitypackage and .nupkg files in MyDir.

Actual behavior

See attached buildlog_0.txt. Errors generated for all .unitypackage output files, and NO .unitypackage files were generated. Also errors for the .nupkg files, but the .nupkg files were generated. Unfortunately, I can't currently consume the .nupkg files to verify that they were generated correctly.

Your Setup (please complete the following information)

  • Unity Version [2018.3.7f1]
  • MRTK Version [mrtk_develop branch at commit 9abf0a1eac906c7ffae688ffd5b5d125202f4ca7]

Target Platform (please complete the following information)

  • HoloLens
  • HoloLens 2

Additional context

See attached logs. buildlog_0.txt is output from build.ps1.

buildlog_0.txt

Editor_bx86_buwp_retarget.log is Unity Editor log from session building the x86 standalone, the UWP solution, and then running the Retarget to DLL.

Editor_bx86_buwp_retarget.log

fast-slow-still avatar May 22 '19 14:05 fast-slow-still

This file has been deleted, since we moved our scripting into YAML files on the build. For the nuget stuff some new stuff is coming.

wiwei avatar Jul 25 '19 00:07 wiwei