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

Use SAF in Unity AR Application without losing tracking

Recently, I've been using [this plugin](https://github.com/yasirkula/UnityNativeFilePicker) for picking files from storage for one of my AR Project. The following plugin is using the Storage Access...

View Article


Native Plugin library depends on another library: DllNotFoundException

My setup is a little bit tricky. I have a class included in a library written in C++ for linux (.so). Let's name that library "MainLibrary". It is detected in Unity in Windows as a native plugin the...

View Article


MacOS native plugin - Notification at app launch

Hello, I'm trying to build a unity native plugin for macOS, and I would like to be notified inside my plugin when my app has finished launching. In my Objective-C++ code, I have the following: +...

View Article

How do I use Apple's SFSymbols in my app?

Apple has an API to get buttons on a gamepad: [GCControllerElement](https://developer.apple.com/documentation/gamecontroller/gccontrollerelement). Within it, you can get...

View Article

method body replaced by unityLinker.exe with a notsupportedexception

I'm working with mysql.data and newtonsoft json dll for my game. There is a problem. I'm building my game with mono scriptbaackend method. My game works perfectly. But when i use il2cpp My game...

View Article


Share multiple image on social media by on click

i want share multiple images on social media by one click. Is it Possible?

View Article

How to Interact With native iOS framework in podspec github repository?

Another developer has created a native iOS framework for me to add to my Unity3D project, however, I do not know how to interact with it. All I received was a cocoapod (.podspec). I have looked through...

View Article

Unity reduces the number of available OpenMP threads

I use OpenMP in a shared android library. There is a sample method that just checks the number of CPUs and the max number of threads. int maxThreads = omp_get_max_threads(); int numProcs =...

View Article


Error when importing Framework natively to Xcode swift

Hi, I am trying to import the Unity Framework, when integrating natively, however; when importing the UnityFramework module using Swift it gives me the error, "No such module 'UnityFramework'". I am...

View Article


Unity Android Native Library Entry Point Not Found but ONLY on recently added...

Howdy doodie, ---------- Before I start I'd like to say that I promise I have searched high and low to the answer to this problem, and while there are some really great resources out there that have...

View Article

fingerprintjs integration / NoClassDefFoundException

I'm trying to integrate https://github.com/fingerprintjs/fingerprint-android into my unity app for android. I've added this code to my native plugin, as shown in example: ... import kotlin.Unit; import...

View Article

How to use opengles texture in IUnityXRDisplay?

Hi,all I want to develop a display XR subsystem ,and run sample downloaded from [link text][1] correctly. But get black screen when change code from ` uDesc.color.nativePtr =...

View Article

,Send information from a nativ app to a unity lirary

I'm trying to send some information from a App (that i made in android studio 2020.3) to my unity app that is as a library in this same app. i tryied to une the UnityPlayer.UnitySendMessage() but i...

View Article


Can I use Unity as Library in React-Native ?

Recently I went with a youtube video, where Unity was used as a Library, exporting the project in android studio and then using Unity scene. The video name is using Unitu as Library for native...

View Article

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 latest articles
Browse All 376 View Live


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