-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Identifier "PhantomCamera2D" not declared in the current scope #298
Comments
If you have updated the addon from version 0.6.x ⇾ 0.7 within a project, then it's entirely possible that there's some lingering code in one of the hidden Godot directories that hasn't properly updated the name change of If the above doesn't help, would you be able to share a Minimal Reproduction Project (MRP) where that issue happens? |
Hello, This is an issue for me as well-- but, in my case at least, I've narrowed the issue down to the use of GDScript's I've seen Nathan Hoad's users (the Godot Dialgue Manger addon) mention this issue as well, though, as far as I know, no one has more information as to a solution or cause, or has created a reproducible project. A workaround to avoid getting an error is to click build, then play. |
I no longer encounter the error I described after having upgraded into 4.3rc1 (I think around beta1 is when my issue was resolved, I don't know which PR was relevant). |
It was resolved in, if my reading is correct, Godot 4.3 Beta 3 in this PR. |
Closing the issue as Godot 4.3 should be addressing, or at least mitigating, this issue. |
Issue description
I'm getting the error "Parse Error: Identifier "PhantomCamera2D" not declared in the current scope." intermittently when hitting play from the Godot editor. This has been happening more frequently it seems like, especially after updating to the latest version. Sometimes it runs, other times it fails.
When the error occurs, it points to this line (348):
Steps to reproduce
I'm really unsure as it seems to happen randomly upon hitting play. I'm not even using PhantomCamera2D in my game.
(Optional) Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: