Skip to content
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

FlexContainer renders as empty despite having button child. #18

Open
neavilos opened this issue Apr 9, 2024 · 5 comments
Open

FlexContainer renders as empty despite having button child. #18

neavilos opened this issue Apr 9, 2024 · 5 comments

Comments

@neavilos
Copy link

neavilos commented Apr 9, 2024

Hi there,

I installed the Linux version of this plugin in Godot for 4.2. I'm not able to get anything to render to the screen when I use the FlexContainer. It just shows up as blank. I'm wondering if I could get some help figuring out why this is happening? My specific Godot build is v4.2.stable.mono.official [46dc27791] if that matters.

I had some difficulty setting up the plugin, especially with native class resolution for the Flexbox class, but I was able to resolve these the errors and confirmed it's registered now via gdscript.

I shared some images below of the setup. I tried to play around with the flex template options to no avail. I've reset all the options back to their default settings except for size and position and anchoring.

image
image
image

@citizenll
Copy link
Owner

I can't replicate this issue on Windows, I'll test it later on an Ubuntu system when I have time.
image

@shuzhiwen
Copy link

This problem also occurs on MacOS

@neavilos
Copy link
Author

Bumping to see if any progress has been made, especially since this seems to be a non-Windows issue.

@neavilos
Copy link
Author

I have an update from my own research. It looks like the issue specifically belongs to the editor, not the runtime. I was able to display the 4 squares in the demo in plenty of configurations without issue, but I used a locally compiled binary of this repo's gdextension. I have not tested yet if it works with the pre-built version.

@citizenll
Copy link
Owner

Indeed, there is an issue with the precompiled files. I encountered the same problem in my Ubuntu system on VMware. I do not yet know why the files compiled by GitHub Actions cannot run. Additionally, on Mac, it seems that an extra version for Apple Silicon needs to be compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants