Search Issue Tracker
Fixed in 2017.2.0f3
Packages folder scanned by Editor causing compilation errors
To reproduce (if using user project, just open it):
1. Create a new Unity project.
2. Create a new custom vs solution, add generated default csproj.
3. Create new c# Project within the cusotm solution, for instance to contain a Unit Test. Save the project in any subfolder in root project directory, NOT in Assets folder.
4. In Visual Studio, right click the new Tests project, and select "Manage Nuger Packages".
5. Add a 'NUnit' nuget package to your new project. A new 'packages' folder will be created in root direcotry of the project, where the downloaded nuget package will be stored.
6. Go back to Unity. Unity will scan the new 'packages' folder, mark all files as assets (metadata files will be created).
7. Unity complains with a compilation error related to the duplicated NUnit assembly. The assembly is not used at all in any script Asset across the project, yet the project wont compile:
Reproduced in 2017.2.0b4, 2017.2.0b5, 2017.2.0b6, 2017.3.0a2
Not reproduced in 2017.2.0b3, 2017.2.0b1, 2017.2.0a1, 2017.1.0p2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- [Linux Hub] A new instance of the Hub does not have a Taskbar icon
- Mesh Inspector becomes slow to use when inspecting a large Mesh with Blend Shapes
- [Metal] GfxDeviceMetal::CreateComputeProgram does not check inputs
- The Modes button of the the SerializedField MinMaxGradient is not clickable in the Inspector when indentLevel is more than 0
- Input.GetKey for Left Shift returns true when Right Shift is held down and Left Shift is pressed (and vice versa)