Skip to content

Conversation

@hshifan
Copy link

@hshifan hshifan commented Jan 26, 2026

Problem

The script fails on macOS with Apple Silicon (M1/M2/M3) and OBS Studio 30+/32+ with errors:

  • attempt to call field 'obs_sceneitem_get_info' (a nil value)
  • Mouse tracking not working reliably on Apple Silicon

Changes

  • Mouse tracking: Replaced NSEvent-based mouse position with CoreGraphics (CGEventGetLocation) which works reliably on Apple Silicon Macs
  • OBS 30+ API: Replaced removed obs_sceneitem_get_info() and obs_transform_info() with individual getter/setter functions (obs_sceneitem_get_pos, obs_sceneitem_get_scale, etc.)
  • Added startup logging to confirm CoreGraphics loaded and API mode

Tested on

  • Mac M3
  • OBS Studio 32.0.2
  • macOS (version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant