Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The identifier "PROTO_VERSION" isn't declared in the current scope. #26

Closed
thoraxe opened this issue Feb 7, 2022 · 2 comments
Closed

Comments

@thoraxe
Copy link

thoraxe commented Feb 7, 2022

Trying to use this against Godot 3.4

I am seeing various errors now and again. Here's one that came up with Godot mostly just sitting there at the editor:

ERROR: Failed parse script res://addons/protobuf/protobuf_core.gd
The identifier "PROTO_VERSION" isn't declared in the current scope.
   at: reload_all_workspace_scripts (modules/gdscript/language_server/gdscript_workspace.cpp:217)
@oniksan
Copy link
Owner

oniksan commented Feb 12, 2022

At what point does this error appear?

@oniksan
Copy link
Owner

oniksan commented May 10, 2022

This is normal, Godot is just trying to parse the script, which he does not need to parse yet, because. it is intended to be substituted into the generated code. The plugin works, the message appears only when the IDE is loaded.

@oniksan oniksan closed this as completed May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants