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
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
Resolution Note:
This is a generic issue regarding deletion of assets before they have completed import.