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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
This is a generic issue regarding deletion of assets before they have completed import.