-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Godot .NET projects cannot be built using CI #92267
Comments
I have tested the following images for ubuntu, debian, and Godot CI projects(https://github.com/abarichello/godot-ci ). The dotnet version uses 7 |
I've been unable to reproduce this, could you provide an MRP? Also, can you reproduce when exporting using your computer instead of CI?
.NET 7 is out of support. Consider using .NET 8. But this is likely unrelated to your issue. |
Yes, it is possible to export without CI (windows and ubuntu) |
Identical issue - 4.2.2 C#, I am using .NET 8, however. Only an issue attempting to export from CLI, which is a bit of an issue for trying to configure automated builds/pipelines
Edit: Also worth noting, my Blend file import is NOT enabled. This warning only occurs through CLI exports. Edit 2: Doing due diligence, this is NOT an issue in 4.3 beta 2 |
This does still happen on 4.3. Tried this on MacOS and Linux and it happens on both places. It does not need to be headless either, nor a release build. godot --export-debug "Windows Desktop" test.exe
Godot Engine v4.3.stable.mono.official.77dcf97d8 - https://godotengine.org
Vulkan 1.2.283 - Forward+ - Using Device #0: Apple - Apple M3 Pro
ERROR: Class 'EditorSettings' can only be instantiated by editor.
at: _instantiate_internal (core/object/class_db.cpp:521)
ERROR: Could not load editor settings from path: /Users/igamigo/Library/Application Support/Godot/editor_settings-4.3.tres
at: create (editor/editor_settings.cpp:1074)
System.InvalidOperationException: The Godot editor API assembly is not loaded.
at GodotPlugins.Main.LoadToolsAssembly(Char* nAssemblyPath, IntPtr unmanagedCallbacks, Int32 unmanagedCallbacksSize) in /root/godot/modules/mono/glue/GodotSharp/GodotPlugins/Main.cs:line 174
ERROR: FATAL: Condition "editor_plugin_obj == nullptr" is true. |
@DSOE1024 why was this closed as completed, was this resolved? this is still happening with 4.3 release images with the first error being ".NET: Failed to load project assembly" unlike with local builds |
@igamigo You are getting an exception that says: @popcron There are a lot of reasons why the project assembly could fail to load, can you provide more context? Even better if you can provide an MRP. |
i cant make an mrp right now but through my frustration switching from using abarichello's workflow to chickensoft, it worked. in the workflow i also did though my message was for @DSOE1024, id like to know what they did, perhaps they also switched their sequence of commands as chickensoft's required it to but they didnt put any info apart from simply closing thanks for the response @raulsntos |
Tested versions
4.2.2-stable
4.2.1-stable
System information
Ubuntu Debian
Issue description
The following error is displayed
And it's gonna get stuck here
The project I tested using gdscript built smoothly, but C# projects can't be built, Is this an engine problem?
abarichello/godot-ci#140
Steps to reproduce
Minimal reproduction project (MRP)
None
The text was updated successfully, but these errors were encountered: