Since a couple of weeks ago our editor add-on custom functions started to show the #NAME error or are stuck in Loading... Everything worked fine until that moment.
Even though the #NAME error is shown (with the message 'unknown function'), if I click in the cell, the function parameters are correctly displayed. Refreshing the sheet doesn't fix the issue, but any change in the sheet (adding/deleting rows/columns or adding some text in any cell) fixes the issue in all sheets. Immediately reopening the sheet works fine, but when reopening after a few minutes the #NAME error is present again.
I was able to reproduce the issue with the simple DOUBLE custom function, in a blank spreadsheet (see screenshot).
Any idea why this is happening? Looks like a recently introduced Google bug.
![Screenshot 2024-02-10 094752.png](https://groups.google.com/group/google-apps-script-community/attach/9acf1987c8a4/Screenshot%202024-02-10%20094752.png?part=0.2&view=1)
![Screenshot 2024-02-10 095019.png](https://groups.google.com/group/google-apps-script-community/attach/9acf1987c8a4/Screenshot%202024-02-10%20095019.png?part=0.1&view=1)