Custom processor fails to register in builds

i have the same issue and the the answer didn’t work in my case any idea why
here is my code

#if UNITY_EDITOR
[InitializeOnLoad]
#endif
public class TopdownPointerAim : InputProcessor<Vector2>
{
   #if UNITY_EDITOR
   static TopdownPointerAim()
   {
      Initialize();
   }
   #endif

   [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
   static void Initialize()
   {
      InputSystem.RegisterProcessor<TopdownPointerAim>();
   }

   public override Vector2 Process(Vector2 value, InputControl control)
   {
      var result = (value - InputManager.screenCenterOffset).normalized;
      return result;
   }
}

and i attached a ss of the log message i am getting on my build

8722476--1179519--Başlıksız.png