The given key '' was not present in the dictionary.
External scripts are defined in the tscn with script = ExtResource("some_id"). Built-in scripts are defined with script = SubResource("some_id"). The scraper only checks for ExtResource, so SubResource fails the regex, and and the id is set to "". This isn't present in the resources dictionary.
I would recommend just ignoring build-in scripts, since by definition it doesn't have a C# class.
External scripts are defined in the tscn with
script = ExtResource("some_id")
. Built-in scripts are defined withscript = SubResource("some_id")
. The scraper only checks forExtResource
, soSubResource
fails the regex, and and the id is set to""
. This isn't present in the resources dictionary.I would recommend just ignoring build-in scripts, since by definition it doesn't have a C# class.