-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Duplicate DLLs blocking build #174
Comments
Thanks for reporting the issue @abruce33. Can you please try the following:
|
Internal ticket# [AIRO-1688] |
Thanks for the direction Hamid, 🙂
It appears the option to exclude AsimpNet.dll from the Android build is disabled? (screenshot attached)
Not sure if this is a bug or a feature, as there does not seem to be any obvious way it has been "locked"
Please advise, thanks!
Adam Bruce
![image](https://user-images.githubusercontent.com/52044403/151065591-45cb5790-cce5-4e41-98d1-5065e8eda93a.png)
[cid:dea58654-1dac-466c-ba05-68fa21e18426]
…________________________________
From: Hamid Younesy ***@***.***>
Sent: Tuesday, January 25, 2022 3:35 PM
To: Unity-Technologies/URDF-Importer ***@***.***>
Cc: Adam Bruce ***@***.***>; Mention ***@***.***>
Subject: Re: [Unity-Technologies/URDF-Importer] BUG: Duplicate DLLs blocking build (Issue #174)
Internal ticket# [AIRO-1688]
—
Reply to this email directly, view it on GitHub<#174 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMNCE4Y5JZ4WHS5DZTVQASLUX4JTJANCNFSM5MWL46MA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So the AsimpNet.DLL is managed and properties will not allow me to deselect 'all platforms' so as to exclude Android from the build. I've started a 'Unity Answers' thread on the DLL unselectable issue here: https://answers.unity.com/questions/1883562/dll-properties-grayed-out-unselectable-unable-to-e.html |
Update,
Update on my end, The Inspector properties for AssimpNet.dll are locked and unselectable. Therefore I am unable to exclude it from the android build. I am able to access other DLLs in the plungin inspector, but the problematic DLL is locked/unselectable. Please let me know if there is an alternative way to deactivate the DLL, or "unlock" it's settings in the plugin Inspector? Thanks, |
I'm having the same problem in UWP, Unity 2021.3.15f1, Unity 2020.3.11, Unity 2022.1.24, URDF importer 0.5.2 preview C:\AR-VR-Github\Robotics-Hub-PandP\Build-Release\Robotics-Hub-PandP\Robotics-Hub-PandP.vcxproj : error : Cannot load project with duplicated project items: C:\AR-VR-Github\Robotics-Hub-PandP\Build-Release\Robotics-Hub-PandP\assimp.dll is included as 'None' and as 'None' item types. @abruce33 Did you solve this? Thank you, Sergio |
delete Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dl and its meta file it works |
Describe the bug
A clear and concise description of what the bug is.
When going to build a project for Android (APK), I am getting a build error that is failing the build. It appears to be duplicate DLLs in both "/x86/assimp.dll " and "/x86_64/assimp.dll"
This is causing the following (4) critical compile errors.
error 1
Found plugins with same names, Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll and Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86_64/assimp.dll. Delete the one of the duplicate plugins.
UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions (string)
UnityEditorInternal.PluginsHelper:CheckFileCollisions (UnityEditor.BuildTarget)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
error 2
Plugins colliding with each other.
error 3
Build completed with a result of 'Failed' in 14 seconds (14151 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
error 4
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
To Reproduce
Steps to reproduce the behavior:
1.) In my existing Unity 2020.3.17f project, I have "Android" set as the build target.
2.) I add the URDF-importer package via the Git URL : https://github.com/Unity-Technologies/URDF-Importer.git?path=/com.unity.robotics.urdf-importer#v0.5.0
3.) After the URDF importer has been added, I click "Build" which starts then stops quickly due to compile errors.
4.) primary error is:
Found plugins with same names, Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll and Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86_64/assimp.dll. Delete the one of the duplicate plugins.
UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions (string)
UnityEditorInternal.PluginsHelper:CheckFileCollisions (UnityEditor.BuildTarget)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Console logs / stack traces
Please wrap in triple backticks (```) to make it easier to read.
error 1
Found plugins with same names, Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll and Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86_64/assimp.dll. Delete the one of the duplicate plugins.
UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions (string)
UnityEditorInternal.PluginsHelper:CheckFileCollisions (UnityEditor.BuildTarget)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
error 2
Plugins colliding with each other.
error 3
Build completed with a result of 'Failed' in 14 seconds (14151 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
error 4
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Expected behavior
A clear and concise description of what you expected to happen.
Clicking "Build" should result in project compiling and exporting an APK.
Troubleshooting note: The project will build an APK if I remove the URDF-Importer package.
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Environment (please complete the following information, where applicable):
Additional context
Add any other context about the problem here.
I have tried
If I remove the URDF-Importer package the project builds normally.
The text was updated successfully, but these errors were encountered: