-
Notifications
You must be signed in to change notification settings - Fork 3
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
Unable to detect Feature tags #8
Comments
Can you screen shot the features tab for that Linux export?
…On Tue, Jul 28, 2020, 21:55 Zack Yang ***@***.***> wrote:
Am using 3.3.2 headless server and OS.has_feature is not returning true
for either "client" or "server" and as such my code is always running the
default-case "cannot detect blah blah blah" -- below are my export settings
for Server.pck. I left "embed PCK" unchecked.
Thank you!
[image: image]
<https://user-images.githubusercontent.com/24970138/88758105-ac281000-d135-11ea-9365-d5db32cd406c.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADDHSOAHXVJGT5XJ3JQVN3R56TTJANCNFSM4PLGKIBA>
.
|
Here is the Entry.gd code as well, only changed some print statements to make it more prominent which OS.feature type I'm using:
|
Yikes this may be a Godot issue: godotengine/godot#38747 |
Here's my temporary fix for anyone else stumbling into this issue -- basically we detect the name of the executable instead of the feature flag, per the other Godot issue.
|
I haven't had time to look into this yet, but I did just test my project that I'm using this architecture for: https://github.com/FugitiveTheGame/Fugitive3D And at least when exporting the Windows Server binary on 3.2.2, it does pick up the features as it should. I haven't had time to check the Linux build today, but I have a couple live headless Linux servers running on 3.2.2 which are functioning properly. I know that isn't very helpful to you right now, but seems like there is something weird going on, and not a 100% broken issue in the current build of Godot. |
Thanks so much for checking I will do a few more attempts. FWIW I'm using Ubuntu on Windows / Bash on Windows. |
From the official documentation it looks like you might be using the wrong flag:
Edit: |
So I'm still unable to reproduce this on my end. I just got latest and tried with Godot 3.2.3 (Win64): I exported that binary as such: And simply ran the exe produced by that export. @dweremeichik the feature we're detecting is a custom feature, not one baked into an export template. That way we can export to any platform, not just the dedicated server template for linux. As you can see in the above screenshot, the custom feature is lower case. I'm wondering if maybe this bug is coming from incorrectly configured exports? |
Am using 3.2.2 headless server and
OS.has_feature
is not returning true for either "client" or "server" and as such my code is always running the default-case "cannot detect blah blah blah" -- below are my export settings for Server.pck. I left "embed PCK" unchecked and I clicked "Export to PCK/Zip"Thank you!
The text was updated successfully, but these errors were encountered: