build.ps1 build script not running locally
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:
- Start from clean copy of mrtk_development branch.
- Load project into Unity
- Open HandInteractionExamples scene. 3.5 Import TextMeshPro Essentials 3.6 Restart Unity
- Open File > Build Settings
- Select: a. Platform => PC, Mac, & Linux Standalone b. Architecture => x86 c. All other settings default.
- Hit Build button
- Check that build completed successfully.
- Change to: a. Platform => UWP b. Development Build check c. Script Debugging check
- Hit Build button
- Check that build completed successfully
- Run Assets > Retarget to DLL
- Check that retarget completed successfully.
- 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.
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.
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.