HoloLens 2开发常见问题汇总.docx
《HoloLens 2开发常见问题汇总.docx》由会员分享,可在线阅读,更多相关《HoloLens 2开发常见问题汇总.docx(16页珍藏版)》请在课桌文档上搜索。
1、HoIoLens2开发常见问题汇总1、如果CG模型等仅在HoIoLens的一侧(左眼)显示怎么办问题:HoIoLens仅在一侧(左眼)显示CG模型等MRC(混合现实捕获)不显示特定的CG模型等(显示其他)原因:CG模型着色器不支持SinglePass渲染解决方案:ScenesInBuildAddOpenScenesPlatform1PC,Mac&LinuxStandaloneUniversalWindowsPlatformUniversalWindowsPlatformWTargetDeviceAnydeviceflAndroidArchitecture64BuildTypeD3DProjec
2、ttQTuCSTargetSDKVersionLatestinstalledIvCIVDDMinimumPlatformVersion10.0.10240.0FiraPS4VisualStudioVersionLatestinstalledBuildandRunonLocalMachineiOSiosBuildconfigurationReleaseCopyReferences日XboxOneCopyPDBfiles窗WebGLDevelopmentBuildAutoconnectProfilerDeepProfilingSupportScriptDebuggingScriptsOnlyBui
3、ldCompressionMethodDefaultLearnaboutUnItyCloUdBUHdPlayerSettings.BuildBuiIdAndRun。ProjectSettingsAuOOEditorGraDbicsInouxManaQefPhvsicsPhvstes2DPtaverPresetManagerQuttlitvScrKXExecuUonOderTaqsandLaversTextMeshProTimeVFXXRPluainMenaoementPlayerDefaultIconDefauttCursorCursorHoispotSettingsforUniversalE
4、ndowsPQtformIconRsohttonandPresentationSplahlmgOtherSettingsPublishingSettingsXRSettingsMonTexture20)SNetNonTMu2D)OBurXRtepfseatedndIVflOertiejnafuturvrwnofUnity.Umthenwu11gaforUnityXR人即SytfHnlfctSttmgundarXRPU9nMangmntDeprecatedSettingsVirtualReahtySuppoftdVirtualRealitySDKsWindowsMtxedRealityDepth
5、FormatEnableDepthBufferSharing1bitdepthStereoRenderingMode*WSAHolographicRemcMlngSupportedMulUPassOOwtMRMrqMrdUrtMtfiumgWSAHotodMultiPassngyassSinglePmsInstancedTextMeshPro也有类似情况TextMeshProForTextMeshProobjects,selecttheTMPGameObjecttoviewitintheinspector.Underthematerialcomponentswitchtheshaderfort
6、heassignedmaterialtousetheMRTKTextMeshProshader.2、MRTK着色器错误将MRTK导入到项目中可能会导致MRTK着色器错误。可能有多种因素,但是在此示例中,原因是管道不支持它。解决方案是删除管道或使用相应的管道。3、关于错误Couldnotfindanysupportedvisualstudioinstallations”解决方法当我像往常一样尝试构建HoIoLens时,在Unity中出现了这样的错误。UniversalWindowsPlatformTargetDeviceHoIoLenSBuildType(D3DSDKLateStinstalle
7、dVisualStudioVersionNotinstalled11BuildandRunonLocalMachineCouldnotfindanysuppotedVisualStudioinstallations.CopyReferencesDebuggingUnityC#ProjectsDevelopmentBuildAutoconnectProfilerScriptsOnlyBuildCompressionMethodDefaultAlLearnaboutUnityCloudBuild匚BuildBuildAndRunJ当我用Unity查找时,2017.1.2f1没问题,2018.4.1
8、2F1错误,2018.3.0b7也出错,根据版本不同意味着什么?通过更新我使用的ViSUalStUdi。2017解决了该问题。我先尝试了更新,但可能已修复。如果你有相同的症状,请尝试*更新/修复,启动VisualStudio安装程序。4、忽略ReferenceRewriterfoundsomeerrorswhilerunningwithcommand”构建MRTKv2时出现以下错误。参考重写器在运行命令-target=TempStagingAreaDataManagedASSembly-CSharp.dll”时发现一些错误ConsoleaClearColhpsCl*ronPL.ErrorPus
9、eEditor1M.?8IReferencePewnterfoundsomeerrorswhilerunningwithcommand,-target=TempStagingAreaxDataXManaged.AsseError:heldSyftem.Numencs.Vector3Windows.PetCeption.PeopIe.HandMeshVertex:Post)ondoesntexistintarget(Referencerewter:Error:eldSystem.Numerics.Vector3Windows.Perception1People1HandMeshvertexnPo
10、sitjondeUnityEngine-DebugrLogEiTor(Object)1Referencerewnter:Error:eldSystem.Numencs.Vector3Windows.Perception.People.HandMeshVertex:PositiondeUnityEngine.Debug:LOgErrOr(ObjeCt)IReferencerewrrte:Error:fieldSystem.Numencs.Vector3Windows-Perception.People1HandMeshVertexiiNormaIdoUnityEngine.DebugcLogEr
11、ror(Object)QReferencerewnter:Etor:fieldSystem.NumencB-QuatemionWndows.Percepbon.PeopleJomtPose:OnentationdotUnityEngineQebUg:LogErrOr(Object)QReferencerewte:Error:eldSystem.Numenct.Vector3Windows.Percepton.PeopleJomtPose:PortiondoesnteUnityEngine.DebugiLogEiTor(Object)IReferencerewtet:Error:fieldSys
12、tem.Numerics.Vector3Windows.Perception.Spatial.SpabaIRay:0rigmdoesnteUnityEngine.Debug:LogError(Objed)QReferencerewrteError:fieldSystem.Numencs.Vector3Windows.Perception.Spatial.SpataIRay:directiondoenlUnityEngine.Debu9:LogError(Object)ReferenceRewnterfoundsomeerrorswhilerunningwithcommand-Urget*Tem
13、pSUgngAeaDataManagedA*sembly-CShap.dll-target三TempStagingAreaXDataXManagedMicrosoftMixedPeaIity.Toolkit.Service*.InputSystem.dl,-target三Temp.StagmgAreaDataManagedMicroioft-MixedReal(ty.Toolkit.Services.InputSimuIatJon.dll,-Urget=TempStagjngAreavDataYManaQedMicrosoft-MaedReaIity.Toolkit.Services.Inpu
14、tAnimation.dl-taget*TempStaQingAreakDataVManaged.Microsoft.MixedPeahty.Toolkit.Services.DiagnostiesSystem.dll-Urget-Temp.StagingAreaXDaUxManaged.Microtoft.MixedPeaIity.Toolkit-Servicef.CameraSystem.dl-target三TernpStagmgAreaXDataXManagedMicrosoft-MixedReaIity.Toolkit.Services.BoundarySy5tem.dll这似乎可以忽
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HoloLens 2开发常见问题汇总 开发 常见问题 汇总
链接地址:https://www.desk33.com/p-929077.html