UWP Built fresh project doesn't work (VS project unloaded), and duplicate assimp.dll
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Domaine
- build-system, desktop
Piste de recherche
Reproduce the fresh Unity 2021.3.15 project and inspect the generated testproject.vcxproj around the duplicate assimp.dll entry. Review the URDF importer and ROS TCP Connector asmdef files and their UWP platform settings, then compare the generated project with the pick-and-place project. Done means the solution loads in Visual Studio and can deploy to HoloLens 2.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Add ROS TCP Connector and URDF importer packages from url.
- 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 https://github.com/Unity-Technologies/Unity-Robotics-Hub/issues/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
- Moving also ROS TCP Connector package as in 5 above also continues to show same error in VS. After moving the folder I also changed Unity-Robotics-Hub\tutorials\pick_and_place\PickAndPlaceProject\Packages\com.unity.robotics.urdf-importer@https://github.com/Unity-Technologies/URDF-Importer/commit/90f353e4352aae4df52fa2c05e49b804631d2a63\Runtime\Unity.Robotics.URDFImporter.asmdef to include 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.
- Langage dominant
- C#
- Étoiles
- 2.6k
- Forks
- 473
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Unity-Technologies/Unity-Robotics-Hub
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
ROS2,ActionOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Is the project deprecated?Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 20/100
-
Force/Torque sensorOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 commentaire ·
Toutes les issues de Unity-Technologies/Unity-Robotics-Hub
Issues similaires
-
DXF with empty names failsOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 3 jours
-
bug python
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Les mainteneurs répondent en général sous 13 jours
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
juandresrodca/AdminForge#66 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
umbraco/Umbraco.Automate#612 ·
Les mainteneurs répondent en général sous 1 jour