You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I relaunch my project, I get a parser error on one of my classes. This means that, every time I launch the project, I need to delete the .godot folder first, allow it to reimport, and then everything works. This was not an issue before migrating my project from 4.2 to 4.3.
Steps to reproduce
I'm honestly not sure what to put here. I'm open to suggestions. If anyone has any, please let me know below. If not, then I'll see if I can reproduce this on a smaller-scale project and attach it here later.
Minimal reproduction project (MRP)
See 'steps to reproduce' - not sure how I can reproduce this right now. Open to suggestions on what may be helpful.
The text was updated successfully, but these errors were encountered:
To debug further we'd indeed need a way to reproduce the issue.
Outside of outright sharing your project (which you may not want to do, and may also be cumbersome for contributors to test with due to unnecessary complexity), the usual way to make a minimal reproduction project (MRP) is to try to narrow down which part of your project causes the issue, and extract it to a separate new project you would be willing to share.
E.g. if you get a parser error in a specific GDScript file, you can copy it (and its dependencies) to a new project, and see if it still reproduces the error. If it's still too complex, you can start removing stuff and check each time whether the parser error is reproduced, until you have something reasonably minimal.
It's impossible for me to say definitively that preload is the cause, but our team does use it all around our project. It's quite the task for us to replace all of the preload() calls. I'll close this for the time being and monitor the preload issue. I'll reopen if it's not fixed after the preload cache issue you attached.
Tested versions
v4.3.stable.steam [77dcf97]
System information
v4.3.stable.steam [77dcf97]
Issue description
Every time I relaunch my project, I get a parser error on one of my classes. This means that, every time I launch the project, I need to delete the .godot folder first, allow it to reimport, and then everything works. This was not an issue before migrating my project from 4.2 to 4.3.
Steps to reproduce
I'm honestly not sure what to put here. I'm open to suggestions. If anyone has any, please let me know below. If not, then I'll see if I can reproduce this on a smaller-scale project and attach it here later.
Minimal reproduction project (MRP)
See 'steps to reproduce' - not sure how I can reproduce this right now. Open to suggestions on what may be helpful.
The text was updated successfully, but these errors were encountered: