-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Android support #2308
Android support #2308
Conversation
Can you elaborate a bit on what motivated this decision? I'm assuming |
I'm not sure why, but it didn't work properly for me. And given that stdout is already redirected, a consistent output is more appealing to me - the command |
I think being able to use UI to toggle logs by their level is way more valuable than exact consistency with pc console logs. The android ides I've used all support this for "native android logs". I also think theres a good chance that we will ultimately have a custom tracing backend for the bevy editor that collects a "structured log format" instead of stdout. Obviously being able to run android apps is more important than this, but I'm still very much in favor of retaining native logging if possible. |
668b6a2
to
e464c21
Compare
Hmm, I experimented with it a bit more, and personally I'm still in favor of defaulting android to stdout, since right now getting a clean output from |
Can you elaborate a bit on this? I wouldn't call |
It's more of an I haven't been able to figure it out yet 😅. I tried a bunch of stuff for cleaning up the logs, but there was still random irrelevant logs coming in. Especially for a game, where my debugging strategy tends to be spam the console and use it as a real time display, scrolling isn't an option, and random logs coming in can make the text jittery. |
This stackoverflow thread seems to have a number of options which are approximately as complex as |
These still gave pings from android s vulkan layer :/. |
bors try |
(I'm hitting shaderc complication errors on my system and I'm curious to see if bors hits them too) |
Co-authored-by: MinerSebas <66798382+MinerSebas@users.noreply.github.com>
Yeah I think the issue is that we need |
tryBuild succeeded: |
Hmm i guess this is a "cart's machine" problem. It is weird that shaderc is getting compiled at all? Shouldn't we be using glsl-to-spirv? |
Maybe we wait until after the renderer rework and don't have to bother with shaderc at all? |
I like this plan :) |
Just out of curiosity, when will said rework probably come? (Very excited for Android support in Bevy, and it will make it easily the best Rust game engine imho). |
Hard to say, but ideally within the next month. |
Alright, thank you! |
#2482 has done most of what this PR does, closing. |
Improves situation on #86
Current status: Occasional panics when resuming, needs #2300.