Can't open device camera with Native plugins using OpenCV and c++.
Hi, I breack my head trying solving this problem but I couldn't, so I post it here for help. I am trying to use Native plugins to use OpenCV libraries and using c++ language with unity. I created...
View ArticleLogitech G29 not detected in Unity only in Logitech Gaming Software
I have a Input setup based on the Logitech Gaming SDK from the Asset Store, I tested the package with my development environment and everything went fine using the G29 Racing Wheel, I can see the...
View ArticleAndroid import shared object with dependencies,Android DLLImport not working,...
Hello, I'm trying to import a native library into my C# Unity Project on Android. Every thing works fine if the libraries only depend on standard libraries already available by unity. But if one...
View ArticleIOS native plugin become slow in Unity
Hello everyone, I have implemented a speech recognition code in native objective C, in this code, there is a block of code that sampling voice about every 100ms and periodically decode the voice, in...
View ArticlePassing AndroidJavaObject to C++ method using JNI
I have a precompiled native library that accepts a jobject parameter, which is my applications Android Context. I am correctly getting an instance to my Android Context as an AndroidJavaObject in my...
View ArticleHow to add event to mobile calendar *easily*?
Hello, Is there a way to add events to mobile device calendar (iOS and Android) without writing native plugins by ourselves? I found an asset on asset store which provides this feature for Android but...
View ArticleRetrieve/Create OpenGL context for native plugin thread?
How can I create a shared OpenGL context in a worker thread spawned from a native plugin? Or how can I obtain the main Unity OpenGL context? (As a first step, I guess...)
View ArticleHow to render device camera feed to a texture without using WebCamTexture
Hello Unity Developers, ---------- I want to render device camera feed on a texture in unity with all the features of camera, like, autofocus, focus on particular area, flash etc in which autofocus is...
View ArticleIOS Phone Gallery Open
I want to Open IOS Phone Gallery but I don't know how to use Native Plugins I try but failed if Anyone Know this solution in his project on GitHub please help me it's urgent thank you
View ArticleIOS phone Gallery Open
I want to Open IOS Phone Gallery but I don't know how to use Native Plugins I try but failed if Anyone Know this solution in his project on GitHub please help me it's urgent thank you
View ArticleHow to access an Android native plugin in unity ?
I want to integrate Braintree android native plugin into unity. Tried many things found on Internet, but none were a success. I have not idea how it's done. Please help me.
View ArticleNative plugin asset dependencies
I am working on creating a plugin from native code. The structure of the files needed is as follows: - ManagedPlugin.dll --- this is what Unity uses - NativePlugin.dll --- this is the native code -...
View ArticleNative android plugin stop working when changing scenes
Hi all, I bought a BLE plugin for android to get some data from a device I have, during the first scene the plugin and the script works fine but when i am changing scenes the connection seem to get...
View Articledoes native audio plugin processcallback stop being called after few empty...
Hi I am writing an audio synthesis plugin that outputs audio samples (and does not get any audio samples as input). Everything works fine until my synthesizer outputs a few frames of empty audio...
View ArticleNativeAudioPlugin use all 5.1 channels
Hello, is there a way to generate a 5.1 in a NativeAudioPlugin? I've set Project Settings -> Audio -> Default Speaker Mode to 5.1 and in my effect (in the C implementation), I've set...
View ArticleNative keyboard height and hide the input field
Hello everyone, Its just a pain to get the native keyboard height in unity and then hide the native input field. Hiding the input field work fine on ios and never on android. For Getting the keyboard...
View Articleandroid time cheat plugin problem with broadcastreceiver
Hi, i want to make an android plugin wich use **android.intent.action.TIME_SET** so when user changing the time i can tell he cheated ! so here is android java class : package com.mahdi.detecttime;...
View ArticleNeed help compiling Unity Native Audio Plugins for Linux, got "multiple...
Hi, my game uses Unity Native Audio Plugins available here: https://bitbucket.org/Unity-Technologies/nativeaudioplugins/downloads/ That repository includes the sources, as well as a compiled version...
View ArticleHow to implement callback from android abstract class?
Hi, I am current trying to connect to BLE with AndroidJavaProxy. This is my implementation: class ScanCallback : AndroidJavaProxy { public ScanCallback() : base("android.bluetooth.le.ScanCallback") { }...
View ArticlePass camera stream from unity and android plugin
I'm trying to use Firebase's MLKit with unity, trying to use the face detection in my project. While sending a single image works, there is a high ping associated with the plugin call from unity and...
View Article