Addressables 2.3.7 causes compile errors for editor assemblies (declared via AssemblyReference) that reference Unity.Addressables.Editor
.
The following error is reported for all types that have a using UnityEditor
declaration and use the Editor
type by name:
error CS0118: 'Editor' is a namespace but is used like a type
Looking at the changes in 2.3.7, the problem appears to be Editor/GUI/AddressableAssetEntryTreeViewState.cs
, which declares a namespace of Editor.GUI
, which I believe should have been UnityEditor.AddressableAssets.GUI
to match the other source files in that location.
The Editor.GUI namespace declaration can be seen here: com.unity.addressables@2.3.7 · needle-mirror/com.unity.addressables@92346d9 · GitHub
EDIT: I have submitted a bug report for this issue