Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
1
Found in
2017.3.0p1
Issue ID
986828
Regression
No
[asmdef] Renaming Assembly Definitions breaks all references to it if there’s more than one Asmdef in the same folder
Steps to reproduce:
1. Open attached “Asmdef.zip” Unity project
2. Rename ‘A’ assembly definition file in 'New Folder 1' in Project window
3. Select ‘C’ assembly definition file in 'New Folder' in Project window
Expected results:
‘C’ asmdef retains reference of ‘A’ asmdef after renaming
Actual results:
‘C’ asmdef loses reference to ‘A’ asmdef after renaming and AssemblyDefinitionException error appears
Reproduced in: 2018.2.0a1, 2018.1.0b3, 2017.3.0p3, 2017.3.0b1
Error example:
AssemblyDefinitionException: Reference assembly definition file 'Assets/New Folder 1/A.asmdef' not found
UnityEditor.AssemblyDefinitionImporterInspector.LoadAssemblyDefintionState (System.String path) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/AssemblyDefinitionImporterInspector.cs:424)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Fixed in: 2018.2.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment