Visual Scripting doesn't list new MonoBehaviour scripts

I just started using Visual Scripting. The problem I’m encountering is that I can access only a part of scripts that are attached to the GameObject. Specifically all the scripts that are “old” - meaning, they were there before I started using Visual Scripting. Any new MonoBehaviour script I create can’t be accessed/listed in Visual Scripting. Even if I copy and rename a script that gets recognized by Visual Scripting (EnableDamageOnAnimation1 on the screenshot).

I tried using “Fix missing scripts” and “Generate” in Project Settings > Visual Scripting.

I’m using Unity 2022.2.1f1

Edit:

“Regenerate nodes” did it. Not the greatest UX ever - it took me about 2 hours to figure it out.

You need to regenerate nodes.

1 Like