Coder Social home page Coder Social logo

Comments (7)

wentao avatar wentao commented on August 22, 2024 1

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.

alice-i-cecile avatar alice-i-cecile commented on August 22, 2024

Can you try to reproduce this further? Does this occur with just DefaultPlugins? Does this occur in winit's examples?

from bevy.

wentao avatar wentao commented on August 22, 2024

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.

alice-i-cecile avatar alice-i-cecile commented on August 22, 2024

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.

alice-i-cecile avatar alice-i-cecile commented on August 22, 2024

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.

Katsutoshii avatar Katsutoshii commented on August 22, 2024

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.

mockersf avatar mockersf commented on August 22, 2024

fixed in #14155

from bevy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.