Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b12
Issue ID
1020067
Regression
Yes
InspectorWindow is inaccessible due to its protection level when used in script
Reproduction steps:
1. Download "OnPostHeaderGUIBug.zip" project and open in Unity
Expected: no errors appear in the console
Actual: errors appear in the console
Reproduced on: 2018.1.0b12; 2018.1.0b13; 2018.2.0a7
Not reproduced on: 2018.1.0b9; 2018.1.0b11
Note: errors:
1) "Assets/Scripts/Editor/MyCustomEditorWindowUI.cs(11,3): error CS0122: `UnityEditor.InspectorWindow' is inaccessible due to its protection level"
2) "Assets/Scripts/Editor/MyCustomEditorWindowUI.cs(11,19): error CS0117: `UnityEditor.InspectorWindow' does not contain a definition for `OnPostHeaderGUI'"
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 ConvertBufferToEXRBuffer when Lighting Generation is cancelled
- [URP] TrailEffect in URP package samples does not draw Trail Effect
- "NullReferenceException" error is thrown when calling UIDocument.runtimePanel in OnEnable with ExecuteInEditMode
- Graphics.Blit() performs the operation only to the last display when a multi-display environment is used
- [Windows] Multiple Separation Lines are present in the Light Create Menu
Add comment