Search Issue Tracker
Duplicate
Votes
4
Found in
4.6.1f1
Issue ID
672630
Regression
No
Incorrect Pre-Build event command line on Universal build
Reproducible on 4.6.0f1, 4.6.1f1, 4.6.3f1;
Visual Studio solution created by Unity after the Windows Store Universal 8.1 build from Unity has incorrect PreBuildEvent scripts for both Windows and WinPhone projects.
We have 3 plugin dlls located in Plugins/Metro/WindowsPhone81 for WindowsPhone8.1, and dlls with same name for Windows Store located in Plugins/Metro. If we build for Universal 8.1 Windows Store to an empty folder, generated solution doesn't compile unless we fix the PreBuildEvent script for both Windows Store and Windows Phone projects in the solution.
For the Windows Store, because the dlls doesn't get copied to the Unprocessed folder, its missing the scripts that copies the dlls from Plugins/Metro to $(ProjectDir).
And for Windows Phone, it did copy the dlls, but when running AssemblyConverter, it's missing the dlls that was located in the Plugins/Metro/WindowsPhone81
Workaround:
You can check the solution located in WindowsUniversal for the correct modified PreBuildEvent script that actually works.
Repro steps:
1. Open project "case_672630-MODIFIED REPRO.zip";
2. Build for WindowsStore select Universal 8.1 SDK;
3. Output to a clean/empty folder;
4. Open up the visual studio solution generated by Unity;
5. Build the solution and it will fail;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment