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:
+ (void)load{
NSLog(@"The plugin is loaded!");
[[NSNotificationCenter defaultCenter] addObserver:[self shared] selector:@selector(applicationDidFinishLaunching:) name:NSApplicationDidFinishLaunchingNotification object:nil];
But the notification is never received...
I setup the same code for my iOS app and it's working fine, but on macOS, the notification is not received. Any help would be appreciated!
↧
MacOS native plugin - Notification at app launch
↧
UnityGetGLViewController for macOS
Hello,
I'm looking for a way to present an NSViewController inside my Unity game on macOS. On iOS, I can use the *UnityGetGLViewController* function to present other view controllers, but I don't know how to do it on macOS.
↧
↧
Unity XR plugin manager Tries to load oculus dll on windows even if its disabled.
I am working on a project where I use both a vive cosmos and an oculus quest 2, for the oculus quest my build target is android and for the vive cosmos its standalone/windows. Now my XR Plugin Manager only has theOpenVRLoader enabled for the standalone tab and on the android tab only the oculus loader is enabled.
Now for some reason, when I build for the vive I get the DllNotFoundException: OculusXRPlugin error. I have checked all of my scripts and assemblies and none of them reference oculus while on windows. I completely removed the Oculus plugin just to check if its really not referenced anywhere and once it was removed the build worked fine.
I really don't understand why exactly my build tries to load this .dll even if it isn't referenced by me.
I am using the Oculus.Plugin 1.7.0
Unity 2020.1.13f1 XR Plugin Management 3.2.17
Now for some reason, when I build for the vive I get the DllNotFoundException: OculusXRPlugin error. I have checked all of my scripts and assemblies and none of them reference oculus while on windows. I completely removed the Oculus plugin just to check if its really not referenced anywhere and once it was removed the build worked fine.
I really don't understand why exactly my build tries to load this .dll even if it isn't referenced by me.
I am using the Oculus.Plugin 1.7.0
Unity 2020.1.13f1 XR Plugin Management 3.2.17
↧
Different between SteamVR and XR Interaction Toolkit
Hello
I`m a beginner at Unity VR Development and using Unity in my research project with HTC Vive Pro. I find two tools for Input System: SteamVR and XR Interaction Toolkit. But I don't understand what is the real difference between them (*only skeleton support in SteamVR plugin?*) and what is better to use. I use 2019.4 version of Unity without using new XR Management.
Can someone help me, please?
↧
How to import plugins inside tests in Unity Test Runner
I started writing a few tests but some of the tests use external dll code placed in plugins.
I tried creating a assembly definition for de plugins folder but that did not really work out.
Is there a way to import the plugins inside my tests ?
Thanks for any attention !
↧
↧
How to add a custom module to Unity?
Greetings,
I have been trying to look for some information concerning my issue with no avail. I humbly ask for your help and I apologize if this has been solved already, I have been unable to find it.
My intention is to add a Custom Platform/Plugin to the Unity install. I already have my own native plugin C++ DLL and also a managed plugin C# DLL with the required dllimports:
*[DllImport("ASimplePlugin", CallingConvention = CallingConvention.Cdecl)]
private static extern int PrintANumber();*
I also have noticed the **modules.json** file with all platforms and plugins a Unity Install can have. But I don't know how to proceed from here.
If I add a new entry to the **modules.json** file, what info do I set in or what do I have to do additionally in order to have my DLLs automatically imported and accessible from scripts in the new project I create with that custom module?
![alt text][1]
I really appreciate your help and I hope you could bring some light into this issue.
[1]: /storage/temp/178115-unityplatform.png
↧
Building x86_64 at once
Hello,
I'm writing Unity plugin in C++ VS 2019 and I want to ask how I can build universal x86_64 at once
↧
How to use Unity XR-Plugin Management from script/commandline
Hey all, I am currently trying to set up jenkins to build my arkit/arcore applications only issue is unities xr-plugin management i need to manually set the values in script so we can compile everything and i can't seem to find the magic syntax
what i currently have
[MenuItem("Tools/IOSBuild")]
public static void BuildIOS()
{
Debug.Log("BUILDING IOS");
var args = FindArgs();
string fullPathAndName = args.targetDir + args.appName;
Debug.Log("Turning on ARKIT support");
string arkitPackage = "com.unity.xr.arkit";
var buildTargetSettings = XRGeneralSettingsPerBuildTarget.XRGeneralSettingsForBuildTarget(BuildTargetGroup.iOS);
var pluginsSettings = buildTargetSettings.AssignedSettings;
var didAssign = XRPackageMetadataStore.AssignLoader(pluginsSettings, arkitPackage, BuildTargetGroup.iOS);
if (!didAssign)
{
throw new System.Exception($"didAssign broke please check package exists {arkitPackage}");
}
and the error i get is that arkit has not been set up
> We were unable to create an instance of the requested type com.unity.xr.arkit. Please make sure that all packages are updated to support this version of XR Plug-In Management.
im very much so at a loss all suggestions would be amazing
↧
Unity android main activiry as foreground service?
Would making the unity main activity a foreground service allow to keep playing non native audio? I want to keep playing positional audio when the user locks the phone.
↧
↧
How to view detailed errors related to Google Play Games APIs
I have been trying to integrate google games into my app using GooglePlayGames plugin. The code to authenticate/sign in a user looks something like this:
public void LogIn ()
{
Social.localUser.Authenticate ((bool success) =>
{
if (success) {
Debug.Log ("Login Sucess");
} else {
Debug.Log ("Login failed");
}
});
}
Problem is that this kind of debugging only shows if its successful or not. How can I view a more detailed error so that I can actually sort out the issue?
↧
How to get started with Azure Blobg Storage? (How to I add the correct namespace?)
Hey all,
Trying to implement the ability to upload blobs from my Unity project to Azure Blob storage at runtime. However, after installing the NuGet Azure.storage.blobs package Unity couldn't "Find the namespace".
So, I tried downloading the NuGet packages directly from nuget.org and extracting the .net DLL's as per this guide: [MSDN Reference][1].
However, After bringing the netstandard2.0/Azure.Storage.Blobs.dll file I am informed about dependancy issues. I chase these dependancies until I've included the following in the plugins folder:
Azure.Core.DLL
Azure.Storage.Blobs.DLL
Azure.Storage.Common.DLL
System.Memory.Data.DLL
However, upon hitting play I get the following list of errors:
![alt text][2]
I've highlighted on of the DLL errors to show that I have an entire list of dependancies that are missing.
How should I proceed? Should I simply keep downloading these dependancies (and their dependancies, and their dependancies ad infinitum) until the errors stop, or is there some other method that I'm missing that I should simply use?
All replies appreciated. XD
Please Note: I'm using .NET 4.x in the player settings.
[1]: https://docs.microsoft.com/en-us/visualstudio/gamedev/unity/unity-scripting-upgrade
[2]: /storage/temp/180558-unityerror.png
↧
How to make Android Notification Media Controller?
Hi everyone!
I'd like to make an android notification media controller just like the on on this image![alt text][1]
[1]: /storage/temp/183176-android-11-media-controls-notification-hero.png
I have literally no idea how to begin or if is it even possible or not.
I would really appreciate any help or guidance on the topic!
Have a great day!
↧
Feeding data into Unity from a Linux executable/.so file?
**Background**: I am in the process of creating a visualization for a robot in Unity. The robot's software (and simulator in this case) is all implemented in MATLAB Simulink models and C/C++ code in MEX files.
In order to aid communication with other applications they make use of shared memory. Retrieving and pushing relevant data is thus fairly straightforward, as one can just use a DB get/put to interact with the local real time database. To not get much in the irrelevant details here, this leads to a quite simple single C file, in which I am now just printing the x and y coordinate of one of the robots. Since this all runs on Ubuntu 20.04, I have turned this into an executable that properly prints the robots location in console.
**Problem**: However, I am now faced with the challenge of getting this data into Unity. I have attempted to create a .so file from this C file such that it can be used as a library in Unity. However I always seem to be presented with a `DllNotFoundException` message.
To give you an idea of what I did, here is a simplified impression of the C file:
int end=0;
extern int main(int argc, char *argv[])
{
while(!end) {
printf("PosX : %lf\n",(double)xyz[0]);
printf("PosY : %lf\n",(double)xyz[1]);
usleep(50000);
}
return 0;
}
Next I turned this into a .so file using the following make command:
all-so :
gcc -shared -o libreadKS.so -fPIC readKS.c
After this I have placed the `libreadKS.so` file in `Assets/Plugins/Linux` (I have tried placing it plainly in the `Assets` folder or `Assets/Plugins` as well) and created a simple script in the scene that contains the following:
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
public class TurtleSimConnectionScript : MonoBehaviour
{
private const string LIBRARY_NAME = "readKS";
[DllImport (LIBRARY_NAME)]
private static extern int main();
void Update() {
main();
}
}
However I always just seem to get `DllNotFoundException: readKS`. Most other cases that run into this issue seem to have included the 'lib' prefix or the .so filetype when passing it in the C# file, but that is not the case here. I have tried using the .so file as provided in the example at the bottom of https://docs.unity3d.com/Manual/AndroidNativePlugins.html , however even this leads to the same result.
My question is if there is something else I am missing/misunderstanding about using .so files in Unity, or are there other (better) ways of approaching this problem?
**Recap:**
*OS*: Ubuntu 20.04
*Unity*: 2020.3.13f1 LTS
Looking to get data from a C file into Unity, either using .so files or another approach.
↧
↧
Can't see sketchfab option on the menu list even after importing sketchfab for unity plugin
hello guys, i just downloaded the unity package for the sketchfab for unity plugin and installed it into unity, but i still don't see the sketchfab option on the unity menu list.
i have re started unity, but still doesn't work. i have tried to re-install the plugin but it keeps saying nothing to import
please help!
↧
App not installed after adding plugins in Unity
After adding the AVPro plugin in the Vuforia project in Unity I receive failure on install:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1893700733.tmp/base.apk using APK Signature Scheme v2: SHA-256 digest of contents did not verify]
It was installed once after increasing the app and bundle versions. But the next builds have the same issue. Does anyone have an idea how to solve this problem?
↧
Apriltag dll for arm64/UWP
I'm working on a Hololens 2 application that's built with Unity 2020 and I wanted to try and use the Apriltag image target system to see if I could get better results than the QRCodes, which I found to be temperamental. I had success getting [this][1] package to work in UWP in the Unity Editor but I am stuck trying to get it to build out on the Hololens. When I build out my application, I throw a "DllNotFound" exception. What do I need to do to get my application to include dlls I have in the project folder?
I am attempting to use vcpkg to generate a new dll since that's mentioned in the comments of the github repo I linked above but I'm not sure what I'm doing there so I wouldn't mind a ELI5 on generating dlls in general.
[1]: https://github.com/keijiro/jp.keijiro.apriltag
↧
How to make an asymmetrical vr using openXR and xr interaction plugin
Hi all, I'm trying to make an asymmetrical VR game in unity (XR management and XR interaction toolkit) but it is not allowing the input of the pc player to happen after any VR tracking is performed. It gives 2 errors and reaches 999+ errors in a couple of seconds. The 2 errors are `IndexOutOfRangeException during event processing of Dynamic update; resetting event buffer` and `IndexOutOfRangeException: Index was outside the bounds of the array.`
I have an input file for the pc player and the default XR input file. Other than that everything is normal. Should I try to combine the 2 input files into 1 or is there another way around it? Any help would be greatly appreciated.
↧
↧
Getting Duplicate class com.unity3d.player.UnityPlayer$c found in modules error
I have the following requirement
- integrate android native app in unity
app
- First, launch native screen from
unity app then launch unity screen
from native app
- have a two way bridge between unity
and native app
- Export the unity project as a unity
package
To do this, i have done the following things
1. created a native project
2. created a unity project
3. exported the unity as library
4. integrate the unity library in android app
5. changed the application module to library
6. built an AAR file of android project
7. added the AAR file in unity at this path - /Assets/Plugins/Android/android.AAR
When i am building the project, it is throwing Duplicate class error
Please help me where i am going wrong with this.
```Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> 1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class bitter.jnibridge.JNIBridge found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class bitter.jnibridge.JNIBridge$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.ChoreographerCallback found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.ChoreographerCallback$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.ChoreographerCallback$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.SwappyDisplayManager found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.SwappyDisplayManager$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.google.androidgamesdk.SwappyDisplayManager$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$b found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$c found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$c$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$d found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$e found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AssetPackManagerWrapper$e$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.AudioVolumeHandler found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.Camera2Wrapper found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.GoogleARCoreApi found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.HFPStatus found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.HFPStatus$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.HFPStatus$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.IAssetPackManagerDownloadStatusCallback found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.IAssetPackManagerMobileDataConfirmationCallback found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.IAssetPackManagerStatusQueryCallback found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.IPermissionRequestCallbacks found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.IUnityPlayerLifecycleEvents found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.NativeLoader found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.NetworkConnectivity found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.NetworkConnectivity$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.PlatformSupport found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.ReflectionHelper found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.ReflectionHelper$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.ReflectionHelper$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.ReflectionHelper$b found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityCoreAssetPacksStatusCallbacks found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPermissions found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$10 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$11 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$12 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$13 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$14 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$15 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$16 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$17 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$18 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$19 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$2 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$20 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$21 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$22 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$23 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$24 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$3 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$3$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$4 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$4$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$5 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$6 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$7 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$8 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$9 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$b found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$c found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$d found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$e found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$e$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.UnityPlayer$f found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.a$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.a$b found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$1 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$2 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$3 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$4 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$5 found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.b$a found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.jar (unity-classes.jar)
Duplicate class com.unity3d.player.c found in modules line-sdk-unity-wrapper-debug-runtime.jar (:line-sdk-unity-wrapper-debug:) and unity-classes.ja```
↧
How to Track Unity Analytics in Custom Plugin Without Forcing Dependency on Integrators?
I want to create Unity plugins for everyone. I have a couple libraries in mind that I hope will help the Unity game development community. I am almost done with something really cool, but I am struggling with figuring out how do I track analytics without forcing dependencies on Integrators?
If I add Unity Analytics to track Integrator interactions with my plugin, it seems there are conflicts. I see these issues.
(1) When my plugin is added in a project by Integrator, Unity Analytics will take up the configuration of that Integrator's login credentials. And I won't get any events in my Unity Analytics console.
(2) I have to physically distribute the necessary files for Unity Analytics (or ask Integrators to activate Unity Analytics on their end from Unity Editor).
Please correct me if I am wrong. I am trying to figure out if this can be avoided. My other concern is that if I add Unity Analytics to my plugin, and the Integrator also is using Unity Analytics, will that cause conflicts?
↧
Managed Plugin Can't Reference Unity Plugins
Hey, I'm working on a Unity plugin that needs to make use of some other open source packages and have run into an issue.
I'm trying to package up our plugin as a managed plugin following the documentation here: https://docs.unity3d.com/Manual/UsingDLL.html
When compiled separately, most of the packages I'm using are fine accept for this one, Draco Unity: https://github.com/atteneder/DracoUnity
The problem I'm currently facing is that Draco Unity uses Burst compile, which can't be easily referenced in my visual studio project. I have tried copying over and referencing the burst compile package files in my visual studio project but I'm still getting a whole heap of errors that I'm not really sure I follow in the burst compile scripts.
![alt text][1]
Is it possible there is something wrong In how I've set this up? I can't find much information on managed plugins that make use of Unity plugins.
[1]: /storage/temp/189349-image-2021-11-29-140936.png
↧