Search Issue Tracker
Fixed
Fixed in 6.0.X
Votes
0
Found in [Package]
6.0.2
Issue ID
PBLD-158
Regression
Yes
“error CS0118: 'Editor' is a namespace but is used like a type“ error is thrown when using UnityEditor.Editor for a custom inspector
Reproduction steps:
1. Open the “ReproProject“ project
2. Observe the Console window
Expected result: No errors thrown in the Console window
Actual result: “error CS0118: 'Editor' is a namespace but is used like a type“ error is thrown in the Console window
Reproducible with: 6.0.2 (6000.0.16f1)
Not reproducible with: 6.0.1 (6000.0.16f1)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note:
Individual packages should not use general naming for its namespace. In this case, ProBuilder uses "Editor" to its namespace so it conflicts with Unity's Editor type
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
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
- No blue outline is shown on a folder in the Project tab when an external file is being dragged over the folder
- Profiler - Taking you to the wrong section when using 'show'
Resolution Note (fix version 6.0.X):
Fixed a bug where ProBuilder would prevent classes inheriting from `UnityEditor.Editor` to compile.