obs-zoom-to-mouse icon indicating copy to clipboard operation
obs-zoom-to-mouse copied to clipboard

Issue with 30.0.2 - Failed to call frontend_event_callback for frontend API

Open infinitychamber opened this issue 1 month ago • 2 comments

Frankly I've got no coding ability whatsoever, so I could just be messing this up. But I got an error when I loaded up the script.

[obs-zoom-to-mouse.lua] Failed to call frontend_event_callback for frontend API: [string "/Users/[x]/Downloads/obs-zoom-to-mouse.lua"]:556: attempt to call field 'obs_sceneitem_get_info' (a nil value)

Not sure what that means! But it's what I've got. haha

infinitychamber avatar Nov 12 '25 22:11 infinitychamber

I submitted a pull request that fixes this issue by updating all deprecated OBS API calls & resolves the failure https://github.com/BlankSourceCode/obs-zoom-to-mouse/pull/82

It replaces the removed functions (obs_sceneitem_get_info / set_info) with the new *_get_info2 / *_set_info2 versions and resolves the crash in OBS 30.x. (works in 32 as well)

Should fix your issue.

micro-JAY avatar Nov 15 '25 12:11 micro-JAY

I encountered the same problem, and following your guidance, I modified the script code, and the problem was solved. Thank you so much! @micro-JAY

xiaoemo-sheng avatar Nov 17 '25 19:11 xiaoemo-sheng

Do I just have to wait for a patch / new version to come thru or how can I implement your fix myself? @micro-JAY

Also a coding novice haha

taylor146 avatar Nov 22 '25 02:11 taylor146

Here's the fix https://github.com/samridhx0/OBS-Cursor-Zoom

All credits to the original creator.

samridhx0 avatar Nov 24 '25 09:11 samridhx0