-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I'm attempting to get an app approved on Oculus App Lab which requires a 64-bit application. After upgrading the build settings and the plugin settings from 32-bit I was getting these errors when PocketSphinx tried to initialize.
2021/02/04 23:44:29.257 15895 15921 Error Unity Unable to find libpocketsphinxwrap
2021/02/04 23:44:29.259 15895 15921 Error Unity Unable to find pocketsphinxwrap
2021/02/04 23:44:29.271 15895 15921 Error Unity DllNotFoundException: Unable to load DLL 'libpocketsphinxwrap': The specified module could not be found.
2021/02/04 23:44:29.271 15895 15921 Error Unity at Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_pocketsphinx (Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate applicationDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate arithmeticDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate divideByZeroDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate indexOutOfRangeDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidCastDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidOperationDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate ioDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate nullReferenceDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate outOfM
Making sure the .so is inside of the Plugins folder gets rid of the first few errors but the DllNotFoundException sticks around
2021/02/04 23:52:16.151 17296 17323 Error Unity DllNotFoundException: Unable to load DLL 'libpocketsphinxwrap': The specified module could not be found.
2021/02/04 23:52:16.151 17296 17323 Error Unity at Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_pocketsphinx (Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate applicationDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate arithmeticDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate divideByZeroDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate indexOutOfRangeDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidCastDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate invalidOperationDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate ioDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate nullReferenceDelegate, Pocketsphinx.pocketsphinxPINVOKE+SWIGExceptionHelper+ExceptionDelegate outOfM
'Load on Startup' does not affect this behavior at all. This is how I have the plugin setup.

Here's my project's target architecture settings.

Hopefully the error is on my end and there is a simple solution, but thought I'd submit an issue just in case.