Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2017.3.0f3
Issue ID
1010737
Regression
No
[Mac] Visual Studio debugger throws errors about not imported files in a "Packages" folder when a new project is created
How to reproduce:
1. Create a new Unity project.
2. Create a new empty C# script and open it.
3. Click the "Play" button in Visual Studio to debug.
Expected result: The debug succeeds without any errors.
Actual result: The debug fails with many errors. Errors say they could not find files in "Packages" subfolders in the project. Opening "Packages" through Finder shows there are no subfolders in the mentioned folder.
Reproducible with - 2018.1.0b3, 2018.1.0b11, 2018.2.0a5
Not reproducible with - 5.6.2p1, 5.6.5p3, 2017.1.0f1, 2017.1.3p2, 2017.2.0b1, 2017.2p1, 2017.3.2f1, 2018.1.0a4, 2018.1.0b2
Could not test with:
- 5.6.0a1, 5.6.2f1, 2017.1.0a1, 2017.1.0b10, 2017.2.0a1, 2017.2.0a4 (could not find "Create->C# Script" in the context menu. Creating scripts by adding it as a new component to a prefab did not help either - scripts were not shown in the Project window or in the inspector window as a component (though it was created in the folder)).
- 2018.1.0a1, 2018.1.0a3 (Visual Studio showed error "Predefined type 'System.Void' is not defined or imported (CS0518)" on default 'Start' and 'Update' methods).
Note:
For 2018.1.0b3-2018.1.0b8 there is no "Packages" folder in the project folder, but error messages still mention it.
For 2018.1.0b9-2018.1.0b11, 2018.2.0a1-2018.2.0a5 the "Packages" folder is in the project folder, but it only contains the "manifest.json" file.
Verified with: version 2018.1.0b12 and version 2018.2.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment