Skip to content
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

URDF Importer causing build errors in Unity #122

Closed
srujan-aris opened this issue Jun 29, 2021 · 3 comments
Closed

URDF Importer causing build errors in Unity #122

srujan-aris opened this issue Jun 29, 2021 · 3 comments
Assignees

Comments

@srujan-aris
Copy link

I'm using URDF importer tool to import my ROS env into unity. The import is successful. I could also simulate the environment and everything looks to be working fine. However when I try building the unity project for UWP I get build errors. Looks like these errors are related to URDF Importer. When I remove the URDF importer from the package manager, the build succeeds with no errors, but I think it leaves the unity project unstable

Here's the console output

Plugin 'assimp.dll' is used from several locations:
 Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86/assimp.dll would be copied to <PluginPath>/assimp.dll
 Packages/com.unity.robotics.urdf-importer/Runtime/UnityMeshImporter/Plugins/AssimpNet/Native/win/x86_64/assimp.dll would be copied to <PluginPath>/assimp.dll
Please fix plugin settings and try again.

UnityEditor.Modules.DefaultPluginImporterExtension:CheckFileCollisions (string)
UnityEditorInternal.PluginsHelper:CheckFileCollisions (UnityEditor.BuildTarget)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Here's my build options. I will be installing this application to Hololens2

image

Environment

  • Unity Version: Unity 2020.3.12f1
  • Unity machine OS + version: Windows 10
  • ROS machine OS + version: Ubuntu 20.04, ROS Noetic
  • Branch or version: [e.g. v0.4.0]
@vidurvij-Unity
Copy link
Contributor

Hi,
Thanks for bringing this to our attention. We will look into this error and get back to you with a potential solution.

@hyounesy
Copy link
Contributor

Ticket# AIRO-920

@hyounesy hyounesy self-assigned this Jul 10, 2021
hyounesy added a commit that referenced this issue Jul 12, 2021
hyounesy added a commit that referenced this issue Jul 13, 2021
)

* fixing the compile error when creating a UWP build #122 (AIRO-920)

* updated changelog for #122 bug fix.
peifeng-unity pushed a commit that referenced this issue Jul 15, 2021
)

* fixing the compile error when creating a UWP build #122 (AIRO-920)

* updated changelog for #122 bug fix.
@sdiao
Copy link
Contributor

sdiao commented Aug 2, 2021

Closing this issue since the fix has been merged in #124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants