godot-benchmarks icon indicating copy to clipboard operation
godot-benchmarks copied to clipboard

SCRIPT ERROR: Parse Error: Could not find type "Benchmark" in the current scope.

Open junwha opened this issue 1 year ago • 2 comments

image

Hi all, I'm trying to run this benchmark in Ubuntu 22.04 with godot(4.3.dev.custom_build.89cc635c0) compiled with Clang 15.0.6. However, I can not open the benchmark using either the command line godot -- --run-benchmarks or by the editor because of a SCRIPT ERROR.

May I seek a solution for this?

Thank you.

junwha avatar Jan 28 '24 15:01 junwha

Now I succeeded to run the benchmark, but still have no idea why did the error occur

junwha avatar Jan 29 '24 14:01 junwha

It's likely because the named script class cache didn't create itself on the first run for some reason. This is an engine issue, rather than a project-specific issue.

Calinou avatar Jan 29 '24 16:01 Calinou