Namespace name 'Editor' does not exist in the namespace 'Doozy'

Problem

Namespace name ‘Editor' does not exist in the namespace 'Doozy’ (are you missing an assembly reference?)

Error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'Doozy' (are you missing an assembly reference?)

Solution

Clean Install

If this was a clean install (you did not previously had Doozy from your project), then this issue comes from de-synced referenced between your IDE (eg. Visual Studio, Rider, etc…) and Unity.

Close your IDE (Visual Studio, Rider, etc…) and Unity, then restart them both.

This will re-sync the missing references.

This issue can happen from time to time in Unity with any asset/code

 

Existing Install

If this is not a clean install (Doozy was in your project and you deleted it before updating - something that is not needed), then a scripting define symbol was left in your project and you need to delete it.