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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Add comment