facebookincubator / obs-plugins

OBS Plugins
GNU General Public License v2.0
54 stars 15 forks source link

Plugin from MRC Tools 3.3 doesn't load in OBS #6

Closed Rakohn closed 4 years ago

Rakohn commented 4 years ago

Hi, I'm trying to use the pugin but OBS can't load it. I used MRC Tools 3.3 and OBS 24.0.3. Here what I found in logs file : 15:21:43.151: LoadLibrary failed for '../../obs-plugins/64bit/oculus-mrc.dll': The specified module could not be found. 15:21:43.151: (126) 15:21:43.151: Module '../../obs-plugins/64bit/oculus-mrc.dll' not loaded

Does someone can help me ?

Edit:

Ok, I've tried the v24 plugin on OBS 24.0.3, 24.0.2, 24.0.1 and 24.0.0. It doesn't work. But v23 plugin works fine on OBS 23.2.1.

xwovr commented 4 years ago

That's interesting. From the log, it seems the plugin was not copied to the correct location. But you also have the v23 plugin works well...

Could you check your full OBS log to see if there could be something happen before this error? One possibility is there were multiple oculus-mrc.dll so an incorrect one got loaded before the correct one.

BTW, we tested the OBS plugin in MRC Tools 3.3 on a newly installed OBS 24.0.3 and it worked fine.

Rakohn commented 4 years ago

I have one error before plugin loading failure : Failed to initialize module 'enc-amf.dll' But I don't think this is important, I have the same error with OBS 23 in the logs.

About plugin location, I can assure you that it is correctly installed.

Could it be a depedency issue ? I'm asking because I had a similar issue with another plugin solved by installing some depedencies.

xwovr commented 4 years ago

'enc-amf.dll' does matter. OBS upgrades the version of AV libraries across their minor versions. If there is a version mismatch of that dll, the Oculus plugin won't be loaded properly.

Could you try to get a clean installation of OBS 24.0.3 to see if it could probably fix the problem?

Rakohn commented 4 years ago

Unfortunately it doesn't change anything. I've uninstalled OBS completely, reinstalled it and got the same issue.

gongxinheng commented 4 years ago

Did you reinstall the obs plugin from Mixed Reality Capture app after reinstalled OBS?

Rakohn commented 4 years ago

Yes, I've reinstalled the plugin and have same error message in the logs

gongxinheng commented 4 years ago

If you installed 64bit OBS, can you also try manually copy the obs-plugin to the obs folder. copy from Mixed Reality Capture installation folder/obs_plugin/ (both data and obs-plugins sub directory) to the root of obs-studio installation?

Rakohn commented 4 years ago

I do have installed a 64bit version and this is how I've installed the plugin

gongxinheng commented 4 years ago

Oh, ok. Just FYI, we currently support auto install obs_plugin at the last screen of calibration. But it basically just does whatever I mentioned to manually install it. You can try that out to if you haven't. But I suppose it won't change anything if you did everything alright previously.

xwovr commented 4 years ago

Also, if nothing works, please send us the full OBS log. We can compare it with our own logs to figure what could be the problem. Thanks!

Rakohn commented 4 years ago

Oh, I didn't see that MRC tool can auto install OBS plugin, at calibration end, I've only seen the export and the finish button. I'll install my setup again and try it, but as you say, I don't believe it will change anything.

Rakohn commented 4 years ago

Ok, this is really weird, plugin is working now. I've made a new OBS install, run a new calibration and let the MRC Tool installing the OBS plugin. And... it works ! I really don't understand why... I'll try another manual install.

By the way, it is surely because english is not my first language but the "Update" anchor at last calibration screen is not really user friendly to me, may be replace the anchor by a button or should display "Install plugin". In my opinion, a button is more visible ^^.

Anyway, thanks for your help.

gongxinheng commented 4 years ago

Glad to hear that the problem was solved, Rakohn. It was possible the way you copied the plugin might go wrong. Anyway, thanks for the feedback. We definitely realized the unfriendly UI and will improve as we update the app.

Thanks, Hengstar