#Pressing Left-Click freezes the game for a second in MacOS

2 messages · Page 1 of 1 (latest)

astral hull
#

Right-Click doesnt, moving the mouse doesn't, my friend ran it in windows and he didn't come across the same problem.
I do have a system that takes input, but even when I comment it out it happens- even so, it works fine on windows so it's probably a mac / unix problem.
I tried in #mac but didn't find an answer, these are some resources im using:

use bevy::ecs::event::{Events, ManualEventReader};
use bevy::input::mouse::MouseMotion;
use bevy::window::{CursorGrabMode, 
PrimaryWindow};```
I'm grabbing the cursor at the startup because the game has fps-like mechanics where you pan the camera instead of clicking with a mouse.

Does anyone know what might be causing the problem?
thick mural
#

Use a profiling tool like tracy or perfetto to see what system is causing the hitch