Quantcast
Channel: Questions in topic: "native plugin"
Browsing all 376 articles
Browse latest View live
↧

How to access USB on Linux

I'm trying to access a USB device from Unity. There are some additional hurdles as the finished game is supposed to run on a Linux machine continuously reading input from the device (which is plugged...

View Article


How to turn on Bluetooth from inside Unity?

Hi, I am looking for a way to turn on Bluetooth on Android and iOS devices from inside my unity application or to trigger a prompt to ask the user for this (like in the example img). Does anyone know...

View Article


Using .framework for iOS as Plugin.

Hello. I have built my plugin for Windows, Linux, Mac OSX and Android (dll, so, bundle, so) and the only thing I am having problems with is the iOS plugin (.framework). I have placed it in the...

View Article

unity 5.6.3 play-service aar moving file error

![alt text][1] [1]: /storage/temp/100194-ps.jpg actually there is no corresponding file named classes.jar existed in play-services-11.0.4.aar!

View Article

How to implement Authorize.net Native plugin in Unity?

Hi all, I have tried building a native plugin in android using authorize.net API for my app's in app purchase. The problem is that I am able to receive the error response from Authorize.net server when...

View Article


How to integrate a authorize.net android plugin in Unity?

Hey All, **I am trying to integrate a native plugin which is made in android studio. I have unzipped the .aar file for the following :** 1. Copied the classes.jar file in Assets\Plugins\Android folder....

View Article

Unity 2017.1 .NET 4.6 Plugin - System.Runtime assembly not allowed to be...

I am using a plugin compiled for .NET 4.6, which depends on [System.ValueTuple][1]. I'm using version 4.3.0 of this package. Everything works ok in the editor, but when I attempt to build for Windows...

View Article

Linux build is putting libNative.so in wrong place

I am new to this Unity world, so I might be doing something wrong... But, I am getting a DllNotFoundException for my Linux build. The Windows and MacOS build work fine, so it is not my managed code....

View Article


C++ native plugin Failed with error '%1 is not a valid Win32 application

Hello, I have been trying to get a native plugin written in C++ to work in Unity. This is my first time writing such a plugin, so I was playing around with some test code to see if I could get it...

View Article


How to place UI over native iOS view?

I created a native iOS plugin which creates a new UIView and adds it to main window. My canvas with all UI elements is covered by this new UIView and I need the canvas to be in front of it. How to...

View Article

how to open Add To Contact with unity?

i checked some post where there is some trick to open dial pad directly with Application.Openurl(tel:[555555555]); to send sms:...

View Article

Plugin external method every frame

Hey, I'm calling an external method following https://docs.unity3d.com/Manual/NativePlugins.html every frame on Update (). The problem is, the native position update is not in Sync with the underlying...

View Article

Native Plugin Cleanup

I'm writing a native plugin for Windows in C++ and having some trouble with the development process. Because Unity doesn't release the plugin dll after running it once, it is necessary to close Unity...

View Article


Getting a non-interleaved native vertex buffer

Hi! I'm currently trying to pass a GL vbo from Unity into nvidia's OptiX raytracer without copying data. I'm currently running into a problem where OptiX accelerators expect the vertex buffers to...

View Article

Error when building with a native plugin

When I build and run by project I get these error: ArgumentException: The Assembly System.Configuration is referenced by System.Data ('Assets/DLL/System.Data.dll'). But the dll is not allowed to be...

View Article


Is Texture.apply() for Unity == glTexSubImage2D on native side on Unity

I have a texture in Unity which I will modify frequently. Now there are two options: 1. I can make changes to texture by calling setPixels and then call Texture2D.apply. I think the apply actually...

View Article

In a Native rendering plugin, how do I distinguish the two views of a VR draw?

I'm calling IssuePluginEvent on a CommandBuffer that's added to a Camera. The camera is used for VR. The plugin event is called twice, with the same Id. How do I distinguish left and right eyes here?...

View Article


scan wifi using AndroidJavaObject

hi . I want to scan wifi by using AndroidJavaObject. I can get ssid with this code : AndroidJavaObject activity = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic("currentActivity");...

View Article

Using C++ classes in native DLL for Unity

I'd like to use classes written in my C++ native plugin in Unity. Here's my attempt. The C++ code (compiles fine): // frontengine.cpp #include "stdafx.h" #include "FrontENGINE.h" extern "C++" {...

View Article

iOS Plugin - Possible to Register 2 subclasses of UnityAppController with...

Hello, I'm using iOS native plugins in my project but I'm also using my own plugin which needs AppEvents. So the other plugin is register a subclass of UnityAppController and my classe too with...

View Article
Browsing all 376 articles
Browse latest View live