UWP Built fresh project doesn't work (VS project unloaded), and duplicate assimp.dll
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system, desktop
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 2.6k
- フォーク
- 473
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Unity-Technologies/Unity-Robotics-Hub のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
ROS2,Actionオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
-
Force/Torque sensorオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · コメント 1 件 ·
Unity-Technologies/Unity-Robotics-Hub の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 3 日以内に返信
-
bug python
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
メンテナーはふだん 13 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#66 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
umbraco/Umbraco.Automate#612 ·
メンテナーはふだん 1 日以内に返信