bevy icon indicating copy to clipboard operation
bevy copied to clipboard

The integration of Bevy into iOS/Android apps was broken.

Open jinleili opened this issue 1 year ago • 3 comments

Bevy version

Bevy 0.13.2 or main branch.

What you did

Integrate the Bevy engine into existing iOS / Android apps.

What went wrong

In the bevy-in-app, I used the event loop of the iOS Android app to drive the Bevy app. It worked well before Bevy 0.13, but after upgrading to 0.13 and the main branch code, the breakout example can hear collision sounds but cannot see any visuals. From the screenshots of Xcode, it can be seen that the command queue did not submit any drawing commands.

Additional information

截屏2024-04-30 16 03 13

jinleili avatar Apr 30 '24 11:04 jinleili

Is this fixed using the https://github.com/bevyengine/bevy/pull/12669 branch?

alice-i-cecile avatar Apr 30 '24 14:04 alice-i-cecile

No, it did not fix my use case. I am trying to pinpoint the cause of the issue.

jinleili avatar May 01 '24 00:05 jinleili

It is a problem with my own program logic. The apply fn of create_window_system_state was not executed after creating the Window. It was not discovered before version 0.13 because the program ran without any issues.

jinleili avatar May 01 '24 11:05 jinleili