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

What's the feasibility of using a native plugin for low-level memory management?

A couple years ago, I made a voxel engine in Unity, and I would like to revisit that idea, but one of my main concerns is memory. If I use C or C++, I can easily manage the memory of the voxel world....

View Article


When I am trying to read data from a CSV file using StreamReader(C#) with...

Hello! I am using Unity 2020.3.2f1. I am using a paid unity asset "Native Android Goodies" to pick up a csv file from the users android phone using the following code as documented by the asset owner....

View Article


how do i see the output of fprintf calls I make from my c native plugin in...

I would like to see the outputs of my (f)printf function calls that i make from my unity C native plugin in Xcode. I am using Unity2021.2.7f1 and xcode 13.2.1 on macbookpro M1 max running macos 12.1....

View Article

How to attach Visual Studio to Unity in order to debug a native dll?

Hello everybody. I have a native dll which is used by a project in Unity 2019.4.35f1. Since the logic in the dll is complicated I would like to be able to debug it. From the main answer here...

View Article

Calling functions from Native DLL (C++) inconsistently crashes Unity

Hi, I created a **custom C++ dll** as a wrapper for the e57Format library that reads in data from .e57 point cloud files. (x64 only) (https://github.com/asmaloney/libE57Format) The **DLL depends on...

View Article


DirectX 12 Native Plugin: synchronise render-to-screen

Hi, I'm currently working within the **Native Rendering Plugin** and with some updated header files. *(https://github.com/Unity-Technologies/NativeRenderingPlugin) * I'm going for a custom **D3D12**...

View Article

Native android plugin get UnityPlayer activity and context

Has anyone here worked with native android plugin for Unity? Was wondering if there was a way to get UnityPlayer Activity and Context from JNI_OnLoad on the native side, instead of passing from Unity...

View Article

GStreamer Native Plugin crash

Hi I’ve recently made a native c++ plug-in with OpenGL setup with the goal of displaying Gstreamer video on a texture I’ve setup GStreamer and the dependencies, but when calling any GStreamer related...

View Article


Unity android talkback

I want to know how to use an **android talkback** in UNITY. I'd like to know the relevant document or link. I want the talkback function to work normally in UNITY. Text, buttons, etc

View Article


DllNotFoundException - Unity Editor

I am getting the DllNotFound exception when trying to test my iOS communication code in the Unity Editor. I have the 'NativeCallProxy.mm and NativeCallProxy.h' in the Plugins folder ![alt text][1]...

View Article

Application looks for plugins in "[ProjectName]_Data/Mono" or...

When I build my project (Windows standalone) and run it on my PC, everything works fine. However, on some other PCs, a native plugin (which I wrote) used in the project fails to load with the...

View Article

How to add native ads using android plugin??

Actually native ads is not working using unity Plugin so I want to add native ads using android plugin. I make module for native ads script in android studio and i have to show the ads. But, I dont...

View Article

When is it safe to call GetNativeTexturePtr()? Will the texture native...

I'm implementing a C++ native plugin that needs to access Unity Textures. To do that I'm passing the pointer returned by *GetNativeTexturePtr()* to the native library. As per Unity's documentation the...

View Article


how can use Xaudio2 in Unity with ill2cpp

i am using SharpDx.dll & SharpDx.XAudio2.dll in Unity3D. The dll works fine in the editor. However, when I run the program after building Windows, an error occurs in the initialization part. The...

View Article

Read the contents of a RenderTexture in DX11 within a native plugin

I'm trying to move the data from a RenderTexture to the CPU as fast as possible within my Native Plugin. I tried using ReadPixels and GCHandle to move the data and that works but it is far too slow. As...

View Article


AR Foundation shared camera access to allow for proper image taking

I am trying to develop an AR app, that would guide the user around the environment in order to capture images from the right angle. The problem is that the AR resolution is quite limited and autofocus...

View Article
Browsing all 376 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>