Can't Inheirt from Custom Class via Editor

Godot Version

v4.6.stable.official [89cea1439]

Question

When I create a new gdscript and select a class that I defined to inherit the editor always tells me “Invalid inherited parent name or path.“ I select the parent class from the ‘Inherit Object’ window so Godot knows the class is defined. I’m not sure what I’m doing wrong here.

Here is the first line of my desired parent class:

class_name CharacterState extends State

Either use the class name CharacterState or put the file path in quotation marks "res://...".

Godot using the file path without quotation marks seems to be an editor bug that got already fixed in 4.6.2.

Yep, just needed to migrate to 4.6.2. Thanks