Search Issue Tracker
Not Reproducible
Votes
0
Found in
2019.1.0b8
2019.1.0b9
Issue ID
1140334
Regression
Yes
"Assembly with same name `UnityEngine.UI' already imported" errors after deleting packages from the PackageCache
How to reproduce:
1. Open attached project "Updated.zip" project (which was previously opened with 2018.3)
2. Delete the packages that cause Compile errors from the Project Library
3. Wait for the recompilation process to end
-- Multiple 'error CS1704' messages appear that prevent from entering Play mode.
Reproducible with - 2019.1.0b8, 2019.1.0b9
Not reproducible with - 2019.3.11f1, 2019.1.0b7, 2019.2.0a10
Errors thrown:
error CS1704: An assembly with the same name `UnityEngine.UI' has already been imported. Consider removing one of the references or sign the assembly
D:/Unity_Versions/2019.1/2019.1.0b9_f1481f10a935/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll (Location of the symbol related to previous error)
D:/Unity_Versions/2019.1/2019.1.0b9_f1481f10a935/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll (Location of the symbol related to previous error)
Notes:
- The issue is no longer present after repeating the same steps on the same version (reopening the project and deleting the packages).
- On 2019.1.0b7 and 2019.2.0a10 the package Compile errors (as mentioned in step 2) are not present.
- The issue occurs after deleting "Library/PackageCache/com.unity.multiplayer-hlapi@1.0.1" and "Library/PackageCache/com.unity.textmeshpro@2.0.0" (step 2)
- On 2019.1.0b8 only "Library/PackageCache/com.unity.multiplayer-hlapi@1.0.1" causes compile error (step 2)
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
Resolution Note (2019.2.X):
Not reproducible with 2019.1.0b10, 2019.1.0f2, 2019.2.0a12