bevy
bevy copied to clipboard
FPS Drop in 0.14.0 when moving mouse
Bevy version
0.14.0
[Optional] Relevant system information
AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
What you did
Move mouse (without grab, not in window, just move mouse)
What went wrong
Huge FPS drop:
Code
fn main() {
App::new()
.add_plugins(DefaultPlugins.set(ImagePlugin::default_nearest()))
.add_plugins(ScreenDiagnosticsPlugin::default())
.add_plugins(ScreenFrameDiagnosticsPlugin)
.add_systems(Startup, setup)
.run();
}
fn setup(mut commands: Commands) {
commands.spawn((
Camera3dBundle {
transform: Transform::from_translation(Vec3::ZERO).looking_at(Vec3::ZERO, Vec3::Y),
..default()
},
));
}
same here on all my devices, steamdeck, windows
I have been unable to replicate this on a M2 macbook air and M1 mac mini