Comments (7)
Ok. I've simplified the code by removing the LogPlugin
setup. I don't know how much I can reduce lines of code further. The key logic to reproduce the bug is setting the window visibility to false and then reset it to true after a few frames.
I haven't used rust-windowing/winit before, I don't quite understand what do you want me to do by pointing me to winit examples. If your intention is to ask me to digging into whether this is a winit bug, I'm probably not the right person to do that at the moment since I'm busy with building my game on bevy engine.
As far as I can tell: The above code works fine with bevy 0.13, but not with bevy 0.14.
from bevy.
Can you try to reproduce this further? Does this occur with just DefaultPlugins
? Does this occur in winit
's examples?
from bevy.
I'm not sure if I follow your recommendation. My current setup is using DefaultPlugins
. What are the changes do you refer to?
Also where can I find the winit
example?
from bevy.
Your example has many other lines of code. We should eliminate all of the extra ones to try and figure out why this is failing.
For the winit
examples, please see https://github.com/rust-windowing/winit/tree/master/examples
from bevy.
The key logic to reproduce the bug is setting the window visibility to false and then reset it to true after a few frames.
Fantastic, that's what I was hoping for. Thanks for the report; we should be able to investigate this further from here :)
from bevy.
I'm running into the same issue. From my testing, it seems like when the window is invisible on Windows the Update schedule runs only once, so if you don't set the window to visible withing that first frame the app gets stuck.
from bevy.
fixed in #14155
from bevy.
Related Issues (20)
- `prepare_view_upscaling_pipelines` is ambiguous with dozens of other systems HOT 1
- `insert_if_new` does not have a non-panicking variant
- per edge border colors HOT 3
- Add a method to Trigger to get a list of the triggered component IDs
- Add a Command to trigger observers with statically known components
- Not possible to render to a texture without a window HOT 1
- 2D Motion Blur
- Enable `unused_qualifications` lint at the workspace level
- BorderlessFullscreen does not cover the menu bar on macOS HOT 2
- Stop special-casing UI leaf-node borders
- Regression involving padding HOT 1
- Follow-up: Make `bevy_math`'s `ops` public (and document the methods)
- Genenerate doc comments from Required Components HOT 3
- Expose Required Component Info Through Reflection
- Consider Enabling `apply_clones` Lint
- Retrying a trigger
- Inputs clash in 3d_gizmos example HOT 1
- Use ThinColumn for both resources and sparse sets
- Make toggling visibility easier HOT 3
- Add support for auxiliary/fragment nodes in ui layouts and scenes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy.