-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
Mono: dependency classes aren't added to solution automatically #11930
Comments
Autoload singleton also doesn't added automatically while regenerating the solution after deleting whole project solution.. |
@tagcup What is the build error exactly? |
|
Attached an example project demonstrating the issue |
There was a mistake in the example you uploaded. Line 4 of Can you describe how did you create the file for the base class? |
Yeah, probably sent the wrong file, anyway, that's what I mean.
emacs Player.cs. Why should it matter? |
BTW, assuming that globals need to be implemented using a singleton class in a separate file, I also bumped into the issue @khairul169 mentioned too, originally |
Ah maybe you mean that's the kind of thing that would be added along with support for external editors / IDEs? |
The reason is you didn't create the file from Godot or an IDE, which would have added it automatically. |
Also need to check AutoLoads as mentioned above. |
Yeah, that was kind of the point that I'm trying to make.
Well, yes, I do reproduce the same problem? |
We have now entered release freeze for Godot 3.0 and want to focus only on release critical issues for that milestone. Therefore, we're moving this issue to the 3.1 milestone, though a fix may be made available for a 3.0.x maintenance release after it has been tested in the master branch during 3.1 development. If you consider that this issue is critical enough to warrant blocking the 3.0 release until fixed, please comment so that we can assess it more in-depth. |
This seems to have been fixed a long time ago, the project in #11930 (comment) with the fix in #11930 (comment) works fine in 3.5 beta 1, and likely in earlier releases too. |
When you create a base class in a file, and create a deriving class in another file and attach it to a node, the build will fail, complaining that the base class isn't a part of the build.
The text was updated successfully, but these errors were encountered: