ComputeBuffer low-level access in Direct3D 11 in Unity 5.5.0B3
Hi all, I just discovered **ComputeBuffer.GetNativeBufferPtr** in Unity 5.5.0B3. Very very awesome!! I'm trying to use the ID3D11Buffer with CUDA interop but it keeps crashing. When looking at the...
View Article[Help] I want to put camera initialization in native plugin
Hello I am pretty new to unity3d, and I have wrote a 3d scene in C++. What I have done in C++ is : 1. camera initialization and updating 2. all the renderers updating Now I want to migrate my C++...
View ArticleMemory intensive native plugin seeing ~6x slowdown
Hello all, I've got a C++ library that I'm using with an iOS native plugin under Unity. The plugin is very memory intensive even running under just iOS -- allocating/deallocating memory and just...
View ArticleTrying to find the path to file inside an Android .apk
Hello. I'm working with someone that is creating a native plugin for Android devices. We're running into an issue in that he needs to know a path to some files included inside the .apk file. If I...
View ArticleLaunching unity activity from Android app
I am launching my unity application from another android app. On a button click event I am calling this function : @Override protected void onCreate(Bundle savedInstanceState) {...
View ArticleUnityPluginLoad not called in standalone
I have a native plugin dll, that defines several functions, and contains UnityPluginLoad. When working in the editor UnityPluginLoad is called when Unity loads the dll, as expected, and all my other...
View ArticleWhere do you download the Unity headers for C dlls?
The [manual][1] states:> See IUnityInterface.h for the correct signatures. IUnityInterfaces is provided to the plugin to access> further Unity APIs. Well great, where are they? There is no...
View Articlearm64 libraries throw warning "Cannot auto detect architecture for Android...
I have a plugin that I build for arm-v7a and arm64-v8a and place in my project in the following paths:> -Assets>> --Plugins>> ----Android>> ------libs>>...
View ArticleAndroid Unity, Screen Recording and MediaProjection APIs -...
I work on a project that uses MediaProjectionManager, MediaProjection and VirtualDisplay in order to record game play. This project also switches away from the UnityPlayerActivity and back every couple...
View ArticleWorkflow for native plugins maintenance
Well, this is not one single clear question, rather a request for sharing of experiences. I'm building a mobile application currently targeting Android and iOS. Of course I have several third party...
View ArticleUsing CommandBuffer how to draw Directional Light shadows in native plugin?
Hi there. **Here is task:** draw an object from a native plugin with shadows. **What is done:** I got a prototype of a working shadows for a Point Light. All rendering is done by a native plugin **What...
View ArticleNative audio Plugin SDK channels question
Can someone else confirm that whilst parameters such as sample rate (state->samplerate) and DSP buffer size (state->dspbuffersize) are available at the point UNITY_AUDIODSP_RESULT...
View ArticleIssue with integration into native iOS app
Hello, After following [this][1] tutorial (the-nerd.be) I managed to integrate a Unity app into a native iOS app. The problem I'm currently facing is when I try to go back from the Unity part to native...
View ArticleUpdate native plugin without restarting Unity on Mac
Hi, I am building a scene on macOS Sierra and I need to use some native plugins. My problem is that each time I update the plugin, I have to restart Unity for it to be loaded, otherwise the changes...
View ArticlePlayback bit rate is faster than recording bit rate in Audio Spatializer SDK
I'm developing a native audio plugin which send Windows desktop audio to Audio Mixer via Audio Spatializer SDK. This plugin aims to create stereo (or 7.1ch future) virtual speaker sets in the VR space....
View ArticleIs there any way to make Native Audio Filter like Unity ReverbZone?
Hi, I've been developing Native Audio Plugin and Spatializer as well. My issue is.. Native Audio Plugin(**except for Spatializer**) can only be added into Audio Mixer Group, but it would be better if I...
View Article"once a native plugin is loaded its never unloaded" warning crashing my apps.
I have a sudden problem that all of the new builds of my running unity games are not running on device now. I got unitynotification.jar deleted from my project unintentionally and after that all jar...
View ArticleHow do I cast an IntPtr to another class?
I'm currently trying to edit an extern method to just call another static method directly. (this is Mono.Sqlite.Data's UnsafeNativeMethods class). I'm assuming there has to be some kind of cast or...
View ArticleDesktop Duplication results into editor crash
Hi, I am currently working on a project where I need my current desktop to be rendered in my Unity game window and later visualize the same in Oculus DK2. I have succeeded in duplicating the desktops...
View ArticleHow can I add 'healthinfo' privileges in a Tizen application?
I created a Tizen Native plugin that requires 'http://tizen.org/privilege/healthinfo' privileges, so I would need this in the manifest file. I don't see 'Healthinfo' in the Capabilities list in Unity,...
View Article