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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment