You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A fresh Unity project with imported URDF package builds an sln does throws errors and can't be used to deploy in Hololens 2.
After building in Unity, I open the .sln project but the UWP project says unloaded)
The only error shown in VS2022 v17.4.3
C:\Temp\testproject\Build-Dev\testproject\testproject.vcxproj : error : Cannot load project with duplicated project items: C:\Temp\testproject\Build-Dev\testproject\assimp.dll is included as 'None' and as 'None' item types.
To Reproduce
Steps to reproduce the behavior:
Create new fresh Unity project Unity 2021.3.15 (all tested versions outlined below) switch to URP, set .NET Framework api compatibility
Build for release, add scene, open visual studio .sln project, the UWP project can't be deployed, VS says project unloaded and VS shows error . VS2022 17.4.3
Only 1 error shown in VS output window:
C:\Temp\testproject\Build-Dev\testproject\testproject.vcxproj : error : Cannot load project with duplicated project items: C:\Temp\testproject\Build-Dev\testproject\assimp.dll is included as 'None' and as 'None' item types.
Move URDF importer into assets/packages as Unable to build, generated messages could not find suitable override and namespace #215 leads to same error result. After moving the folder I also made sure Unity-Robotics-Hub\tutorials\pick_and_place\PickAndPlaceProject\Library\PackageCache\com.unity.robotics.ros-tcp-connector@c27f00c6cf\Runtime\Unity.Robotics.ROSTCPConnector.asmdef includes Platform UWP
Also tried Regenerate Project files but has the same error:
I also tried selecting Editor and UWP, but also only UWP in asimpNet.dll as per this suggestion but the same error happens.
I also tried deleting the Library, vcxproj but didn't make any difference to the error result.
Console logs / stack traces
The only error shown in VS is as shown above. Unity does not show any errors when building.
Expected behavior
VS sln opens so we can deploy to Hololens 2.
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Environment (please complete the following information, where applicable):
Unity Version: Unity 2021.3.15f1, Unity 2020.3.11, Unity 2022.1.24
Visual Studio 2022 v17.4.3
Unity machine OS + version: Windows 11 Pro, v 10.0.22.621 Build 22621
ROS machine OS + version: Didn't launch it because the problem is built project by Unity doesn't work
ROS–Unity communication: n/a
Branch or version:
Additional context
Can't use this package for UWP builds for Hololens 2.
Bug also posted at URDF importer
Also if this pickandplace project is opened fresh and try to build for UWP (.NET Framework) the same error occurs.
The text was updated successfully, but these errors were encountered:
Describe the bug
A fresh Unity project with imported URDF package builds an sln does throws errors and can't be used to deploy in Hololens 2.
After building in Unity, I open the .sln project but the UWP project says unloaded)
The only error shown in VS2022 v17.4.3
C:\Temp\testproject\Build-Dev\testproject\testproject.vcxproj : error : Cannot load project with duplicated project items: C:\Temp\testproject\Build-Dev\testproject\assimp.dll is included as 'None' and as 'None' item types.
To Reproduce
Steps to reproduce the behavior:
Only 1 error shown in VS output window:
C:\Temp\testproject\Build-Dev\testproject\testproject.vcxproj : error : Cannot load project with duplicated project items: C:\Temp\testproject\Build-Dev\testproject\assimp.dll is included as 'None' and as 'None' item types.
I also tried deleting the Library, vcxproj but didn't make any difference to the error result.
Console logs / stack traces
The only error shown in VS is as shown above. Unity does not show any errors when building.
Expected behavior
VS sln opens so we can deploy to Hololens 2.
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Environment (please complete the following information, where applicable):
Unity Version: Unity 2021.3.15f1, Unity 2020.3.11, Unity 2022.1.24
Visual Studio 2022 v17.4.3
Unity machine OS + version: Windows 11 Pro, v 10.0.22.621 Build 22621
ROS machine OS + version: Didn't launch it because the problem is built project by Unity doesn't work
ROS–Unity communication: n/a
Branch or version:
Additional context
Can't use this package for UWP builds for Hololens 2.
Bug also posted at URDF importer
Also if this pickandplace project is opened fresh and try to build for UWP (.NET Framework) the same error occurs.
The text was updated successfully, but these errors were encountered: