Description
Hi!
I recently updated my project to use this plugin. However, on boot of the project, I get an exception.
My project is Unity 6000.0.35f1 for WebGL, using unity-sqlite-net 1.2.0.
I am also reporting to Unity, in case it's a C++ compiler issue.
Removing the SQLite package prevents the issue, but as soon as this package is in the project this will happen on all non-development builds.
The error is actually related to the input system, but only occurs when SQLite is in the project.
Sample project:
Switch to WebGL, then build and run with development mode turned off.
Test Project.zip
Uncaught RuntimeError: unreachable
at Sys_GetNonCryptographicallySecureRandomBytes_m6E685E563363C27974F36F253C28B4F19D9FACF9 (http://localhost:54699/Build/Build.wasm.br:wasm-function[32295]:0xa2f6f9)
at Interop_GetRandomBytes_mCA054362D47D8B1BB32A7501F26A646DD8CA6947 (http://localhost:54699/Build/Build.wasm.br:wasm-function[13422]:0x3c4c5b)
at Guid_NewGuid_m1F4894E8DC089811D6252148AD5858E58D43A7BD (http://localhost:54699/Build/Build.wasm.br:wasm-function[4036]:0x11cd09)
at InputAction__ctor_m2C9BD26403717DAA628B90D4CD2A4057233A1A44 (http://localhost:54699/Build/Build.wasm.br:wasm-function[13610]:0x3d245e)
at RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915(void ()(), MethodInfo const, void*, void**, void*) (http://localhost:54699/Build/Build.wasm.br:wasm-function[76866]:0x13ff1c8)
at il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) (http://localhost:54699/Build/Build.wasm.br:wasm-function[8769]:0x2673df)
at il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) (http://localhost:54699/Build/Build.wasm.br:wasm-function[1874]:0xad01d)
at il2cpp::vm::Runtime::ObjectInitException(Il2CppObject*, Il2CppException**) (http://localhost:54699/Build/Build.wasm.br:wasm-function[26487]:0x87c042)
at il2cpp_runtime_object_init_exception (http://localhost:54699/Build/Build.wasm.br:wasm-function[15777]:0x4ca35b)
at Scripting::RuntimeObjectInitLogException(ScriptingObjectPtr, ScriptingCtorCache*) (http://localhost:54699/Build/Build.wasm.br:wasm-function[3919]:0x117b19)
at ArrayOfManagedObjectsTransferer::iterator::SetupManagedObjectTransferer() (http://localhost:54699/Build/Build.wasm.br:wasm-function[5882]:0x194eb0)
at void Transfer_ManagedObject<StreamedBinaryRead, true>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[46866]:0xe7db30)
at void TransferField_LinearCollection(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[14979]:0x455f2f)
at void ExecuteSerializationCommands(SerializationCommandProvider&, StreamedBinaryRead&, GeneralMonoObject const&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[3238]:0xf3269)
at void Transfer_ManagedObject<StreamedBinaryRead, true>(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[46866]:0xe7db3c)
at void TransferField_LinearCollection(SerializationCommandArguments const&, RuntimeSerializationCommandInfo&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[14979]:0x455f2f)
at void ExecuteSerializationCommands(core::vector<SerializationCommand, core::allocator<SerializationCommand, 0ul>> const&, StreamedBinaryWrite&, GeneralMonoObject const&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[3018]:0xe7954)
at void TransferScriptingObject(StreamedBinaryRead&, ScriptingObjectPtr, ScriptingClassPtr, SerializationCache::Data*&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[24169]:0x747b66)
at SerializableManagedRefTransfer::Transfer(Object*, SerializableManagedRef&, StreamedBinaryRead&, bool) (http://localhost:54699/Build/Build.wasm.br:wasm-function[33421]:0xa80d50)
at MonoBehaviour::VirtualRedirectTransfer(StreamedBinaryRead&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[88275]:0x15abb0d)
at SerializedFile::ReadObject(long long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&) (http://localhost:54699/Build/Build.wasm.br:wasm-function[33381]:0xa7eaf4)
at PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags) (http://localhost:54699/Build/Build.wasm.br:wasm-function[13009]:0x3a93de)
at PersistentManager::LoadFileCompletelyThreaded(core::basic_string_ref, long long*, int*, int, PersistentManager::LoadFlags, LoadProgress&, PersistentManager::LockFlags) (http://localhost:54699/Build/Build.wasm.br:wasm-function[13010]:0x3a986a)
at RunWebGLPlayer() (http://localhost:54699/Build/Build.wasm.br:wasm-function[34524]:0xaba5cd)
at main (http://localhost:54699/Build/Build.wasm.br:wasm-function[53188]:0x103b03b)
at Module._main (http://localhost:54699/Build/Build.framework.js.br:9:320574)
at callMain (http://localhost:54699/Build/Build.framework.js.br:9:322349)
at doRun (http://localhost:54699/Build/Build.framework.js.br:9:322763)
at run (http://localhost:54699/Build/Build.framework.js.br:9:322935)
at runCaller (http://localhost:54699/Build/Build.framework.js.br:9:322049)
at Object.removeRunDependency (http://localhost:54699/Build/Build.framework.js.br:9:12278)
at http://localhost:54699/Build/Build.framework.js.br:9:3695
at doCallback (http://localhost:54699/Build/Build.framework.js.br:9:70255)
at done (http://localhost:54699/Build/Build.framework.js.br:9:70409)
at Object.reconcile (http://localhost:54699/Build/Build.framework.js.br:9:63682)
at http://localhost:54699/Build/Build.framework.js.br:9:59761
at index.openKeyCursor.onsuccess (http://localhost:54699/Build/Build.framework.js.br:9:61582)