47. Fix a missing or invalid function call
| Symptom | Check first |
|---|---|
| Use Definitions closes; no new node appears | Expected behavior. Add Call Script Function and choose the exposed definition. |
| The definition dialog stays open | Read its validation message; check names, types, defaults and visual entry. |
| Function is missing from the picker | Expose is checked, definition accepted, record applied where required, project saved and correct script selected. |
| Missing Function appears | The stored definition key no longer resolves. Check renames, deletion, exposure and script table. |
| Call returns no useful value | The body reaches Return; the right entry/function ran; Result Variable was committed. |
| Type diagnostic | The supplied literal/expression resolves to the declared type. |
| Old calls stop after exposure is disabled | Re-enable the definition or update those calls. Direct code calls are a separate route. |
Selecting a different function resets the caller’s supplied parameter values. Recheck every field after changing the picker. A reused friendly name does not guarantee identical parameter order or meaning.
When a visual entry node has been deleted, choose an existing replacement in Functions as Nodes. Do not leave a stale entry and hope the runner chooses a nearby node.
Before distributing the project, test each exposed function with its defaults and with at least one non-default value. Test a caller-dependent helper from a real owner event.
