Bevy game occasionally crashes VS Code after being closed if it was launched from VS Code integrated terminal #13351
Labels
A-Cross-Cutting
Impacts the entire engine
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.13.2
[Optional] Relevant system information
OS: Windows 10
VS Code version: 1.89.1
What you did
I usually launch my games from integrated VS Code terminal with
cargo run
.What went wrong
Upon closure of the game VS Code program starts to increase its CPU usage and RAM consumption until it crashes with "Out Of Memory" error. I haven't found any additional information in VS Code logs. There is only that "Out Of Memory" message. This crash happens occasionally once per many launches and I can not reliably reproduce it. The only thing I can tell is that it doesn't matter if the game is run the first time after it's recompiled or not.
cargo build
never fails, the crash happens only after the app was closed.I'm sorry I cannot provide any additional information. This issue might not even be related to Bevy but it is the only app that ever caused it. I will provide any additional information that is necessary and can be gathered.
Additional information
I use
dynamic_linking
feature andopt-level = 3
package-specific override. Linking is done with lld. I followed Bevy Setup guide.The text was updated successfully, but these errors were encountered: