obs-move-transition icon indicating copy to clipboard operation
obs-move-transition copied to clipboard

Plugin doesn't load on Windows 10 with OBS 26.1.1

Open cmdremily opened this issue 4 years ago • 4 comments

Hi,

I had the plugin working at one point and tried to update, now the plugin won't load. I've used the installer, uninstalled and reinstalled no change.

From the log:

00:57:23.415: Module '../../obs-plugins/64bit/move-transition.dll' not loaded
00:57:23.415: Failed to load module file '../../obs-plugins/64bit/move-transition.dll': -2

The error code -2 is from here in OBS:

https://github.com/obsproject/obs-studio/blob/5e44e6412a2e391a04c3c3ce903c8866e9b76062/libobs/obs-module.c#L125

and the error code is MODULE_FILE_NOT_FOUND which makes no sense because the path is just fine.

Reading the OBS code a bit, what I think happens is that the call to LoadLibraryW in https://github.com/obsproject/obs-studio/blob/dde4d57d726ed6d9e244ffbac093d8ef54e29f44/libobs/util/platform-windows.c#L90 fails and I'm thinking it may be some kind of hidden protection in recent windows updates that is preventing a the DLL from being loaded but I don't know how to track that down further.

Any assistance on the matter would be appreciated.

cmdremily avatar Aug 13 '21 23:08 cmdremily

The newest version of the plugin requires OBS version 27 or higher

exeldro avatar Aug 14 '21 18:08 exeldro

Ok, could you please update https://obsproject.com/forum/resources/move-transition.913/ which says version 25? And put some more info on the release page or have a check in the installer or something? That would have saved me many hours of my life xD

cmdremily avatar Aug 14 '21 23:08 cmdremily

The page does not allow me to specify OBS version per plugin version. For every version of the plugin there is text stating what changed on the updates and the discussion page of the plugin. My plugins only require a new version of OBS when that version is stable and I strongly recommend using the latest stable version of OBS

exeldro avatar Aug 15 '21 05:08 exeldro

Of course, I've updated and it now works, thanks for the help.

What I'm saying is, it would be very helpful if the minimum supported OBS version was stated clearly for the plugin either on the download page here on github or in the filename. I've looked through both the updates and discussion tabs on obsproject.com up to a year backwards and found nothing about a minimum version. I've also not found a minimum version on the releases page here on github, the only reference to minimum version I found was on https://obsproject.com/forum/resources/move-transition.913/ and it was incorrect for the latest plugin version and led me to waste many hours trying to debug why the plugin wasn't loading.

cmdremily avatar Aug 15 '21 16:08 cmdremily