[OnOpenAsset(0)] Attribute, code imported from PackageManager cannot be work.

[OnOpenAsset(0)] Attribute, code imported from PackageManager cannot be work.

2022.3.50 Put it on Assets folder can work

2021.3.15 All can work.

code:

 public static class OpenAssetLogLine
    {
        [OnOpenAsset(0)]
        private static bool OnOpenAsset(int instanceID, int line)
        {
        }
    }

This issue seems to have been fixed in Unity6000.1.6f1