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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment