Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
4.1.0
Issue ID
1171201
Regression
No
ProBuilder - Compiler error when deleting Editor Samples from the Project View
If you have the ProBuilder Editor Examples installed in your project, then select the Samples folder in Project View and delete it, a compiler error will appear in the console:
Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\CustomAction.cs' could not be found.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\RenameNewObjects.cs' could not be found.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\SetCustomUnwrapParams.cs' could not be found.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\CreateShadowObject.cs' could not be found.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\EditorCallbackViewer.cs' could not be found.
error CS2001: Source file 'C:\Users\marctourle\Documents\New Unity Project (34)\Assets\Samples\ProBuilder\4.1.0\Editor Examples\ClearUnusedAttributes.cs' could not be found.
1. Open Unity
2. Open the attached project
3. In the Project View, select the Samples folder
4. Delete the Samples folder
Expected Result:
The samples folder and all it's children are deleted without any warnings or errors in the console.
Actual Result:
A compiler error appears in the console.
Tested on Windows.
Occurs on package version 4.1.0 using 2019.3.0a10
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note:
This is a generic issue regarding deletion of assets before they have completed import.