Why is GL.IssuePluginEvent not listed on documentation page for "GL" class?
Here is the current documentation for "**GL.IssuePluginEvent**": http://docs.unity3d.com/ScriptReference/GL.IssuePluginEvent.html The top of that page has the following message: "**Obsolete**...
View ArticleNative Rendering Plugin not working for iOS
Hi all, I am trying to run the latest RenderingPluginExample53 for iOS. I tried Unity 5.2 and also 5.4 beta. In Assets/Plugins/ios there is a file MyAppController.mm the rendering plugins are...
View ArticleHow do I include a framework in an OS X native bundle?
I am trying to create a wrapper (bundle) for an OS X framework. In Unity, I'm getting the following error: Couldn't open Assets/Affdex/Plugins/affdex-native.bundle/Contents/MacOS/affdex-native, error:...
View ArticleReloading native plugins
Hi I'm developing a plugin for a project. To give a bit of context its a tool for generating assets in the editor, and needs c++ to voxelise efficiently. However, I've rapidly hit upon the issue that...
View ArticleHow do I get the Metal device for IOS within a native plugin?
I'm making an existing (pre 5.3) plugin compatible with the later unity plugin format. I have it working for Android and PC but in the sample plugin there is only D3D9, D3D11,D3D12 devices queryable....
View ArticleSend Desktop Screencapture to Unity Plugin
A nice Hello, I want to capture the monitor output and hand it over to a Unity texture pointer. I used DXGICaptureSample from Pavel Gurenko which works great (saves a bitmap from monitor) and merged it...
View ArticleIs it possible to access rig joints in C#?
I am developing a plugin for Unity where models/characters will be automatically animated by way of their rigs and a user specified path. I am new to Unity and have some questions: Is there a way to...
View ArticleAccess rig joint positions in C#
I am developing a plugin for Unity where models/characters will be automatically animated by way of their rigs and a user specified path. I am new to Unity and have some questions: Is there a way to...
View ArticleWhat is the correct location for a native (C++) plugin's DLL dependencies
I have built a native Unity plugin (for deployment on Windows) in C++. This plugin (a DLL) itself depends on a number of other DLLs. So for example let's call my plugin MyPlugin.dll, and assume it...
View ArticleCan i call unity fbx animation in iOS native application.?
i want to call fbx animation in iOS native application. is this possible?
View Articleplugin inspector not working for OSX bundle
I've got the world's simplest test plugin in C compiling to a bundle in xcode and included in my Unity project, and it works like a charm when running in the Unity IDE or when compiled to an OSX...
View ArticleHow to get the low level rendering plugin working on Android?
Android seems to be supported out of the box with the RenderingPluginExample53.zip that is currently provided. However, when I run the example on a Galaxy Note 5, the triangle and texture are not...
View ArticleAnother Failed to re-package resources build error for Android
I know you all see a bunch of these every day, and I wish I could refer to another example and fix this. I've tried that, but I just wish these build errors were more readable. I'm using these plugins:...
View ArticleHow to quit unity game from iOS native app and release the memory
I am trying to integrate unity app into my iOS native app. I am able to launch when ever I want, but I cannot able to quit unity app once the game is completed. How to quit the unity and release the...
View ArticleHow can I get the correct VR rendering camera matrix in a native render plugin?
I have tried to pass Camera.current.worldToCameraMatrix and GL.GetGPUProjectionMatrix(Camera.current.projectionMatrix, VRSettings.enabled) in to the native plugin, but the mesh rendered by native...
View ArticleOS X native plug-in preferring system libraries over its own
I have a 32bit OS X .bundle with 15 libraries inside, some having interdependencies. One in particular, also exists in my system's /usr/local/lib in 64bit form. The player bombs out when trying to load...
View ArticleBind Unity RenderTexture in D3D11 native code plugin
My Direct3D is somewhat rusty so apologies if there is an obvious answer to this question :) I'm trying to write a native code plugin that uses D3D11 to draw to a Unity RenderTexture. I pass the...
View ArticleAndriod native plugin: AndroidAdMob.Client.CreateAdBanner not working
I am using the new android Native plugin 7.6, for some reason , whenever i call the AndroidAdMob.Client.CreateAdBanner method , i get a null reference pointing towards the AndroidAddMobController...
View ArticleCalling UnityPluginLoad manually
I'm calling functions in a native rendering plugin manually using LoadLibrary, GetProcAddress etc. This is to avoid the problem of having to restart Unity every time I recompile the native plugin. The...
View Articlefunctional multithreaded c++ code crashes if executed in Unity as native plugin
Hi, I have a set of routines in C++ that samples many megabytes of volumetric data from several memory-mapped files on-demand, i.e., whenever it needs to sample or modify a particular point it either...
View Article