Open jqi001 opened 4 months ago
Hi,
Thank you for the feedback.
I believe there are two things to work on. One is improving documentation on how to build Unity projects targeting UWP, and the other is reviewing and updating the Getting Started guide for Windows 10 development and its platform dependencies.
Both tasks may take some time. In the meantime, I will see if I can reproduce your errors and how to fix them.
Thank you,
that will be great. I can install a new computer, and video everything from: new unity, new UWP, and copy my project in to the new computer, and make sure everything works inside unity, and then try to build the project? then you can see where is the problem, and maybe tell me how to fix that build?
Because i really want this AR demo to work. do you have time to help me? if I recored and edit the video and send to you.
Hi @jqi001, apologies for not getting back to you sooner.
I have so far not been able to reproduce your issue. Could you try with the native UWP sample that we have? For this, you can download the Vuforia SDK for UWP and then the native sample for UWP and place it in the UWP SDK's Samples folder. A guide for building the sample is available here.
This could tell us if it is the Visual Studio or if there's something happening from your build for UWP in Unity.
Also, please double-check that the Visual Studio Editor package is installed from the Package Manager in Unity.
You're welcome to try on another PC with clean projects and software. If you wish to record it and share it, you can send a download link to vuforia-feedback@ptc.com with the Github issue number in the title.
Hope it helps,
thanks for the reply, I will try the rebuild Tomorrow.
Hei, @ptc-thesbyro I have tried the build again.
here is my setting screen shot.
D:\Projects\Vuforia DEMO\Vuforia UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj : warning : Platform 'ARM64' referenced in the project file 'VuforiaSample' cannot be found.
D:\Projects\Vuforia DEMO\Vuforia UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj : warning : Platform 'x64' referenced in the project file 'VuforiaSample' cannot be found.
error : Designtime build failed for project 'D:\Projects\Vuforia DEMO\Vuforia UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.
2.I didnt find where i can put my key. namespace { constexpr char licenseKey[] = ""; }
3.release error:( and there is no X86 option) error : Designtime build failed for project 'D:\Projects\Vuforia DEMO\Vuforia UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'D:\Projects\Vuforia DEMO\Vuforia UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj' configuration 'Release|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.
here is the error i have seen.
and i installed windows application development with c++ 141,142,143.
then the errors are gone, i can build. but i didn't know where to chenge key, so the VuforiaSample couldn't run with out key.
Then, I copy my project to the new computer and build. there is error:
DeviceConfiguration/GetDevices
Caller =
i tried to Ignore the error and build any way. and here is what I get for the build.
Regarding the license key this article here shows where to add it in Unity https://developer.vuforia.com/library/getting-started/getting-started-vuforia-engine-unity#vuforia-engine-setup
[Share which article or sample this is related to] (https://developer.vuforia.com/library/getting-started/getting-started-vuforia-engine-windows-10-development)
Elaborate on your feedback or issue I just followed the article step by step, I installed downloaded Vuforia-sdk-UWP, and vuforia-sample-UWP, and installed them correctly. but when I tried to build it shows error: C:\Projects\AR\UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj : warning : The build tools for Visual Studio 2022 (v143) cannot be found. Install Visual Studio 2022 (v143) to build using the Visual Studio 2022 (v143) build tools.
C:\Projects\AR\UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj : warning : Platform 'ARM64' referenced in the project file 'VuforiaSample' cannot be found.
C:\Projects\AR\UWP\samples\vuforia-sample-10-24-4\UWP\VuforiaSample.vcxproj : warning : Platform 'x64' referenced in the project file 'VuforiaSample' cannot be found. i tried to install alot of the V143 build tool, but none of them work, i have no idea what's going on and where I did wrong.
I have my own DEMO that works in unity, I just can't build it with UWP. And i am looking alover the place for Tutorial, and didn't find any.
Describe the solution you'd like Would you guys do a detailed Article please? like from Unity end, like: build a Universal windows platform and then install Visual Studio dependce, like what ever Platform 'x64' or other V143 tools we need for the build.
and then finish the build. if you guys can make this a video that will be great.
Describe possible alternatives you've considered or you guys can help me and tell what is need to build UWP?
Additional context