Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b2
Issue ID
988228
Regression
No
[asmdef] Moving Assembly Definition along with script files to a different folder causes compiler errors
Steps to reproduce:
1. Open attached “Asmdef.zip” Unity project
2. Select all files (Assembly definition and scripts) in Folder1 in Project window
3. Move all files to Folder2 in Project window
Expected results:
No errors
Actual results:
CS2001 errors appear in Console
Reproduced in: 2018.2.0a1, 2018.1.0b3, 2017.3.0p3, 2017.3.0b1
Error example:
error CS2001: Source file `Assets/Folder2/NewBehaviourScript.cs' could not be found
Workaround:
Move Assembly Definition file separately from scripts
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
This is a duplicate of issue #984727