- Home /
Unitylinker build error for UWP
When i try to build our VR game to UWP i get the following error:
Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Animation.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\AR.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\AssetBundle.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Audio.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Cloth.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Core.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\CrashReporting.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Director.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\GameCenter.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Grid.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\ImageConversion.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\IMGUI.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Input.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\JSONSerialize.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Localization.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\ParticleSystem.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\PerformanceReporting.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Physics.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Physics2D.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\ScreenCapture.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\SharedInternals.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\SpriteMask.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\SpriteShape.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Streaming.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\StyleSheets.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Substance.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Terrain.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\TerrainPhysics.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\TextCore.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\TextRendering.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Tilemap.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UI.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UIElements.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UNET.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityAnalytics.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityConnect.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityWebRequest.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityWebRequestAssetBundle.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityWebRequestAudio.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityWebRequestTexture.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\UnityWebRequestWWW.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Vehicles.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\VFX.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Video.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\VR.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\Wind.xml" -x "C:\Program Files\Unity\Hub\Editor\2018.4.8f1\Editor\Data\PlaybackEngines\MetroSupport\Whitelists\XR.xml" -x "C:\UnityProject-mixed\Assets\link.xml" -d "C:\UnityProject-mixed\Temp\StagingArea\Data\Managed" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.SceneSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Async.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Gltf.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Tools.Runtime.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.Tracking.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Demos.Gltf.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Demos.UX.Interactables.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.CameraSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.SDK.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.TeleportSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputSystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Unity.Postprocessing.Runtime.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputAnimation.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.BoundarySystem.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Demos.InspectorFields.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Examples.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputSimulation.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\UnityEngine.UI.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\UnityEngine.Networking.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\ProBuilderCore-Unity5.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.CJK.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.MidEast.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.Other.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.Rare.dll" --include-unity-root-assembly="C:\UnityProject-mixed\Temp\StagingArea\Data\Managed\I18N.West.dll" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory=C:\UnityProject-mixed\Temp\StagingArea\Data\Managed --rule-set=Conservative
stdout: ERROR: Failed to resolve base type I18N.Common.MonoSafeEncoding for type I18N.CJK.CP51932 in assembly I18N.CJK.dll when linking against the UnityAot profile Fatal error in Unity CIL Linker Unity.Linker.StrippingResolutionBaseTypeException: ERROR: Failed to resolve base type I18N.Common.MonoSafeEncoding for type I18N.CJK.CP51932 in assembly I18N.CJK.dll when linking against the UnityAot profile at Unity.Linker.MonoBehaviorUtilities.IsMonoBehaviourOrScriptableObject(UnityLinkContext context, TypeDefinition type) at Unity.Linker.Steps.Marking.MonoBehaviourMarking.DoAdditionalTypeProcessing(TypeDefinition type) at Unity.Linker.Steps.UnityMarkStep.DoAdditionalTypeProcessing(TypeDefinition type) at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference) at Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type) at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly) at Mono.Linker.Steps.MarkStep.Initialize() at Unity.Linker.Steps.UnityMarkStep.Process(LinkContext context) at Mono.Linker.Pipeline.Process(LinkContext context) at Unity.Linker.UnityDriver.Run() at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling() at Unity.Linker.UnityDriver.RunDriver() stderr:
Does someone know how this can be resolved?
Your answer
Follow this Question
Related Questions
Can not build to Android with backend Il2cpp 2 Answers
Unity Android IL2CPP Build Error 1 Answer
Can't build for Android with IL2CPP 1 Answer
il2cpp android build error unity 2019.1.6f1 6 Answers
WebGL Build Error: IL2CPP error 0 Answers