2023.3.XThird Party Issue
When assembly reload is invoked, all bindings get reset in code, so afterAssemblyReload is already empty at that time. To get that script working you could use InitializeOnLoadMethod for ensuring bindings are setup at proper time.