Skip to main content

All Questions

Tagged with
0 votes
0 answers
42 views

Unity C++ WebGL build Error _ZN2cv3MatC1Ev

I'm trying this link to use OpenCV in unity. It works in UnityEditor but doesn't work in WebGL builds. Gives me errors when I try to build.. Errors : Library\Bee\artifacts\WebGL\build\...
erin's user avatar
  • 1
0 votes
0 answers
30 views

MarshalDirectiveException Error while using opencv dll for unity

I'm trying to make unity show rtsp video using opencv. I made custom dll using c++, which uses opencv dll. What I need now is to use dll in unity to Display rtsp, but I'm getting some weird Error. Is ...
erin's user avatar
  • 1
-2 votes
0 answers
26 views

How can I make the window background of the app created in Unity for Xcode transparent?

I created a Unity project and exported an Xcode project to MacOS. Because the background of the app directly exported from Unity cannot be transparent, I want to make some modifications to it through ...
天才小当家's user avatar
0 votes
0 answers
97 views

Dll hijacking prevention in Unity project

I am developing a game using the unity engine. I am trying to delay hacks into the game by preventing tools like melonLoader to work. I saw that MelonLoader use proxyGen rust tool to load their ...
downstroy's user avatar
  • 1,088
1 vote
0 answers
33 views

Mono Default Assembly Path Is Wrong C++

I am trying to load assemblies from a mono game using mono_domain_assembly_open however I have to set the full path to the assembly in order for it to load which is causing considerable lag when ...
Exam Expert's user avatar
0 votes
0 answers
33 views

C++ Mono Embed - Assembly Path Is Wrong

I am trying to load assemblies from a mono game using mono_domain_assembly_open however I have to set the full path to the assembly in order for it to load which is causing considerable lag when ...
Xezzy 2k's user avatar
1 vote
1 answer
140 views

Unity - How to add C++ file directly to be used as a Plug-in

I am using Unity 2023.3. I wanted to use C++ code directly as plugin in Unity. In their documentation here it mentions that it detects .cpp as a plugin: https://docs.unity3d.com/2023.1/Documentation/...
ABS's user avatar
  • 112
1 vote
0 answers
168 views

How to implement a C# callback compatible with a C++ DLL's variadic function pointer for Unity

I am working with a C++ dynamic link library from xatlas that exports a function with the following signature: __declspec(dllexport) void xatlasSetPrint(xatlasPrintFunc print, bool verbose);. The ...
Velctor's user avatar
  • 31
0 votes
1 answer
81 views

Byte array and int transferring between C# and C++ in Unity DLL Integration

I am developing a Unity project where I've created a DLL in C++ to integrate with my C# scripts. The C++ function I've written is meant to receive a byte array and its size as input parameters. ...
Lucas B's user avatar
0 votes
0 answers
45 views

Dynamic Projection Mapping with Kinect Fusion

I would like to create a dynamic projection mapping with a kinect v2 onto moving faces. The projection should also track gestures. For the Face and Gestures I already could use / adapt the libraries ...
harryw's user avatar
  • 1
0 votes
0 answers
105 views

Integrating OpenCV with Unity Using Android NDK: Issues Loading Native Libraries in Unity

I am trying to integrate C++ code into Unity, which should use OpenCV 4.8.0 for Android (OpenCV-android-sdk). To create the .so file, I am using the Android NDK (android-ndk-r26b). My issue as I ...
znerl's user avatar
  • 11
1 vote
0 answers
86 views

I built the OpenCV so file to be used in Unity Android successfully, but why can't my app find the Dll?

I want to use opencv-4.8.0-android sdk to write the desired source and then call it from Unity Android. My environment is as follows. Visual studio 2022, running on win10 android-ndk-r23c and also ...
Boosil-guy's user avatar
0 votes
0 answers
147 views

How to use mono_add_internal_call properly if C++ project and C# dll are under different directory

I have a C++ project which want to invoke function in C# dll, therefore I followed the mono-document, and have below code in C++ project: static MonoString* Sample() { return mono_string_new(...
LoneliNerd's user avatar
0 votes
0 answers
59 views

How does Unity auto-detect public members for serialization?

I'm making a custom C++ game engine, and I'd like to do something similar to what Unity does by auto-serializing public members of MonoBehavior classes, which subsequently allows for the member to be ...
Adam's user avatar
  • 1
1 vote
1 answer
255 views

Parsing YAML containing multiple documents

I have YAML file (Unity YAML) which contains multiple documents: %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &500710038956159860 GameObject: m_ObjectHideFlags: 0 ...
uni's user avatar
  • 591

15 30 50 per page
1
2 3 4 5
27