-
-
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
Adding a C# solution breaks the "Embed Pck" export option. #55684
Comments
Disable VirtualBox's 3D acceleration and install mesa-dist-win in the VM to run Godot correctly (including GLES2 and GLES3 support). |
Can confirm this on godot 3.4mono win10x64. The 'embed pck' exported .exe is missing it's icon & only works residing in the "res://" folder. Unticking 'embed pck' works fine. |
PCK embedding seems to be currently broken in many cases, I don't think this issue is specific to C#. Some of the known limitations of PCK embedding:
It seems the feature is pending a complete rewrite, for now you can avoid embedding the PCK. |
Yep, will do. My game isn't even close to being finished but i was testing out some things and that's how i found this bug. Kinda off-topic but for the rewrite it would also be really nice if there was also an option to pack all the mono stuff directly into the executable. It's the reason i wanted to use the Embed PCK option in the first place, as having one single executable is more convenient than having several files and folders. |
I believe the intention is to support single-file executables eventually (probably not until 4.1), this is described in this proposal: godotengine/godot-proposals#2333
|
@FlooferLand Can you still reproduce in |
3.5 beta 5 actually has broken PCK export for C# projects due to the above PR: #60753 But it's fixed by #60752, and so the combined #60580 and #60752 might have indeed solved this issue. Should be tested in the next 3.5 build (beta 6 or RC 1, not sure which name it will have yet). |
Apologies for the very late response. Going to be closing this issue as it appears solved! |
Godot version
v3.4.stable.mono.official [206ba70]
System information
Windows 10 Home [19043] (64-bit)
Issue description
When exporting a project with
Embed Pck
turned on in the export options, the exported executable of the project displays the following message when it's ran:^ This happens on a brand new project too.
I've had some other issues regarding Godot Mono, so it could be an issue on my side. (But i can't test that since Godot running in Virtual Box turns Godot's UI upside down for some reason)
Could be related, but I'm using Visual Studio 2019 (no separate build tools, just the base install with .NET stuff enabled and the official Godot C# extension)
EDIT: I've also discovered that this issue doesn't occur when the exported executable is inside the very root of the project (
res://
)Steps to reproduce
Embed Pck
, turning off exporting with debug, then exporting in any place besides the very root of the project *(exporting into something likeres://builds/
or somewhere outside the project would be fine)Minimal reproduction project
MonoExportErrorTest.zip
The text was updated successfully, but these errors were encountered: