Cannot access script in inspector

Godot Version

4.2

Question

Hey. I’ve attached a couple of pics of my issue. In picture 1, I’ve selected my weapon manager node and can access it’s script in the inspector.

However, I cannot access my script in the characterbody3D node. Other posts say that it can be due to errors in the script, but there are no compile errors in the script on the character body. How come I cannot access it?

SOLVED!
Weird fix though. I had to comment out the line saying “@export var WEAPON_MANAGER : WeaponManager”, press ctrl+s, add the line back in, save again, and now it works…

Maybe a UI bug?