Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2019.3.12f1
2020.1
Issue ID
1240667
Regression
No
Custom editor do not respect the hide in editor flag
The inspector custom editor are still shown even if the target object specify to be hidden in the inspector.
Steps:
1- Create a new project
2- Create a scripted importer
[ExcludeFromPreset, ScriptedImporter(version: 1, ext: "qse")]
class SearchExpressionImporter : ScriptedImporter
{
public override void OnImportAsset(AssetImportContext ctx)
{
Debug.Log($"Importing search expression {ctx.assetPath}");
var text = new TextAsset(File.ReadAllText(ctx.assetPath));
text.hideFlags |= HideFlags.HideInInspector;
ctx.AddObjectToAsset("expression", text, Icons.quicksearch);
ctx.SetMainObject(text);
}
}
3- Import and select the generated asset
Result: Notice that the the Text object is still shown even if we want it hidden when the asset is selected in the project browser
Expected: Have any imported object be hidden in the inspector if mark as such.
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 ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment