ClearScript icon indicating copy to clipboard operation
ClearScript copied to clipboard

HoloLens - Get ClearScript on UWP+ARM64 running

Open Mt-Perazim opened this issue 3 years ago • 14 comments

I'm trying to use ClearScript on HoloLens.

What works: Clearscript works on Windows in Unity. For that I'm using the dlls from the .net-4.5-build-folder:

  • Core.dll
  • V8.dll
  • Windows.Core.dll
  • Windows.dll
  • win-x64.dll
  • win-x86.dll

What does not work: The HoloLens runs on UWP and the architecture should be ARM64. So if I understand it right, a application running on the HoloLens should need the dlls from the uap-10.0-build-folder (there are only those two dlls):

  • Core.dll
  • V8.dll

But what I also need, if I understand it right, is a unmanaged uap-arm64.dll, which doesnt exist, right? Like in the case for windows, that has the unmanaged dlls win-x64 and win-x86, I need here a uap variant.

Did someone use ClearScript on the HoloLens?

Mt-Perazim avatar Mar 29 '22 07:03 Mt-Perazim

Hi @arsi0001,

Thanks for your question.

First, please understand that ClearScript's UWP support is still preliminary and experimental. Also, unfortunately, we have no experience with HoloLens.

We have done some UWP testing, but only on Windows, and we found that no special UWP-specific builds of the native V8 assemblies were required. That is, our UWP test application worked correctly with the regular ClearScriptV8.win-x86.dll and ClearScriptV8.win-x64.dll assemblies.

But what I also need, if I understand it right, is a unmanaged uap-arm64.dll, which doesnt exist, right?

ClearScript's build process doesn't produce UWP-specific native libraries. Have you tried using ClearScriptV8.win-arm64.dll?

Thanks again!

ClearScriptLib avatar Mar 29 '22 13:03 ClearScriptLib

@ClearScriptLib Yes I tried the following scenario. I took Core.dll, V8.dll, Windows.Core.dll, Windows.dll, win-x64.dll, win-x86.dll from the .Net45-folder and told Unity to take those for windows build. Then I took the Core.dll, V8.dll from UAP-folder and the ClearScriptV8.win-arm64.dll from .Net45-folder and told Unity to take those for uwp build.

But trying to build I get the following errors out of the managed dlls, telling me that there are a few methods, referenced but not found:

Reference Rewriter found some errors while running with command
	"--target=Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" 
	"--target=Temp\StagingArea\Data\Managed\UnityEngine.SpatialTracking.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputAnimation.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.CameraSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.SDK.Experimental.Interactive.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.SDK.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.XRSDK.WindowsMixedReality.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.XRSDK.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsSceneUnderstanding.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Providers.OpenXR.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Gltf.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.Tracking.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Examples.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Async.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputSimulation.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.InputSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.SceneSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\UnityEngine.XR.LegacyInputHelpers.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.XR.WindowsMixedReality.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.XR.Management.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.XR.InteractionSubsystems.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.XR.ARSubsystems.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.Timeline.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.TextMeshPro.dll" 
	"--target=Temp\StagingArea\Data\Managed\Unity.Subsystem.Registration.dll" 
	"--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Services.TeleportSystem.dll" 
	"--target=Temp\StagingArea\Data\Managed\ClearScript.V8.dll" 
	"--target=Temp\StagingArea\Data\Managed\Jint.dll" 
	"--target=Temp\StagingArea\Data\Managed\ClearScript.Core.dll" 
	"--target=Temp\StagingArea\Data\Managed\nunit.framework.dll" 
	"--additionalreferences=Temp\StagingArea\Data\Managed,Temp\StagingArea\Data\Managed\Plugins\ARM,Temp\StagingArea\Data\Managed\Plugins\ARM64,Temp\StagingArea\Data\Managed\Plugins\X86,Temp\StagingArea\Data\Managed\Plugins\X64,Temp\StagingArea\Data\Managed\Plugins\ARM,Temp\StagingArea\Data\Managed\Plugins\X86,Temp\StagingArea\Data\Managed\Plugins\X64,Temp\StagingArea\Data\Managed\Plugins\ARM64,Temp\StagingArea\Data\Managed\Plugins\X86,Temp\StagingArea\Data\Managed\Plugins\$(PlatformShortName),Temp\StagingArea\Data\Managed\Plugins\ARM64" 
	"--platform=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.22000.0\Facade\Windows.winmd" 
	"--dbg=pdb" 
	"--framework=Temp\StagingArea\Data\Managed" 
	"--winmdrefs=HL2UnityPlugin" 
	"--alt=Microsoft.Win32.SafeHandles,mscorlib;System,mscorlib;System,System;System,System.ComponentModel.Composition;System,System.Core;System.CodeDom.Compiler,System;System.Collections,mscorlib;System.Collections.Concurrent,mscorlib;System.Collections.Concurrent,System;System.Collections.Generic,mscorlib;System.Collections.Generic,System;System.Collections.Generic,System.Core;System.Collections.ObjectModel,mscorlib;System.Collections.ObjectModel,System;System.Collections.Specialized,System;System.ComponentModel,System;System.ComponentModel.DataAnnotations,System.ComponentModel.DataAnnotations;System.ComponentModel.DataAnnotations.Schema,System.ComponentModel.DataAnnotations;System.Data,System.Data;System.Data.Common,System.Data;System.Diagnostics,mscorlib;System.Diagnostics,System;System.Diagnostics.CodeAnalysis,mscorlib;System.Diagnostics.Contracts,mscorlib;System.Diagnostics.Tracing,mscorlib;System.Dynamic,System.Core;System.Globalization,mscorlib;System.IO,mscorlib;System.IO,System;System.IO,System.Core;System.IO,System.Runtime.WindowsRuntime.UI.Xaml;System.IO.Compression,System;System.IO.Compression,System.IO.Compression.FileSystem;System.IO.IsolatedStorage,mscorlib;System.Linq,System.Core;System.Linq.Expressions,System.Core;System.Net,System;System.Net.NetworkInformation,System;System.Net.Security,System;System.Net.Sockets,System;System.Numerics,System.Numerics;System.Reflection,mscorlib;System.Reflection.Emit,mscorlib;System.Resources,mscorlib;System.Runtime,mscorlib;System.Runtime.CompilerServices,mscorlib;System.Runtime.CompilerServices,System.Core;System.Runtime.ExceptionServices,mscorlib;System.Runtime.InteropServices,mscorlib;System.Runtime.InteropServices,System;System.Runtime.InteropServices,System.Core;System.Runtime.InteropServices.ComTypes,mscorlib;System.Runtime.InteropServices.ComTypes,System;System.Runtime.InteropServices.WindowsRuntime,mscorlib;System.Runtime.Serialization,mscorlib;System.Runtime.Serialization,System.Runtime.Serialization;System.Runtime.Serialization.Json,System.Runtime.Serialization;System.Runtime.Versioning,mscorlib;System.Runtime.Versioning,System;System.Security,mscorlib;System.Security.Authentication,System;System.Security.Authentication.ExtendedProtection,System;System.Security.Claims,mscorlib;System.Security.Principal,mscorlib;System.ServiceModel,System.ServiceModel;System.ServiceModel.Channels,System.ServiceModel;System.ServiceModel.Description,System.ServiceModel;System.ServiceModel.Dispatcher,System.ServiceModel;System.ServiceModel.Security,System.ServiceModel;System.ServiceModel.Security.Tokens,System.ServiceModel;System.Text,mscorlib;System.Text.RegularExpressions,System;System.Threading,mscorlib;System.Threading,System;System.Threading,System.Core;System.Threading.Tasks,mscorlib;System.Threading.Tasks,System.Core;System.Windows.Input,System;System.Xml,System.Runtime.Serialization;System.Xml,System.Xml;System.Xml.Linq,System.Xml.Linq;System.Xml.Schema,System.Xml;System.Xml.Serialization,System.Xml;<winmd>,Windows.winmd;<winmd>,Windows.AI.MachineLearning.MachineLearningContract.winmd;<winmd>,Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract.winmd;<winmd>,Windows.ApplicationModel.Calls.Background.CallsBackgroundContract.winmd;<winmd>,Windows.ApplicationModel.Calls.CallsPhoneContract.winmd;<winmd>,Windows.ApplicationModel.Calls.CallsVoipContract.winmd;<winmd>,Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd;<winmd>,Windows.ApplicationModel.SocialInfo.SocialInfoContract.winmd;<winmd>,Windows.ApplicationModel.StartupTaskContract.winmd;<winmd>,Windows.Devices.Custom.CustomDeviceContract.winmd;<winmd>,Windows.Devices.DevicesLowLevelContract.winmd;<winmd>,Windows.Devices.Printers.PrintersContract.winmd;<winmd>,Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract.winmd;<winmd>,Windows.Devices.SmartCards.SmartCardEmulatorContract.winmd;<winmd>,Windows.Foundation.FoundationContract.winmd;<winmd>,Windows.Foundation.UniversalApiContract.winmd;<winmd>,Windows.Gaming.XboxLive.StorageApiContract.winmd;<winmd>,Windows.Graphics.Printing3D.Printing3DContract.winmd;<winmd>,Windows.Networking.Connectivity.WwanContract.winmd;<winmd>,Windows.Networking.Sockets.ControlChannelTriggerContract.winmd;<winmd>,Windows.Security.Isolation.IsolatedWindowsEnvironmentContract.winmd;<winmd>,Windows.Services.Maps.GuidanceContract.winmd;<winmd>,Windows.Services.Maps.LocalSearchContract.winmd;<winmd>,Windows.Services.Store.StoreContract.winmd;<winmd>,Windows.Services.TargetedContent.TargetedContentContract.winmd;<winmd>,Windows.Storage.Provider.CloudFilesContract.winmd;<winmd>,Windows.System.Profile.ProfileHardwareTokenContract.winmd;<winmd>,Windows.System.Profile.ProfileRetailInfoContract.winmd;<winmd>,Windows.System.Profile.ProfileSharedModeContract.winmd;<winmd>,Windows.System.Profile.SystemManufacturers.SystemManufacturersContract.winmd;<winmd>,Windows.System.SystemManagementContract.winmd;<winmd>,Windows.UI.UIAutomation.UIAutomationContract.winmd;<winmd>,Windows.UI.ViewManagement.ViewManagementViewScalingContract.winmd;<winmd>,Windows.UI.Xaml.Core.Direct.XamlDirectContract.winmd;<winmd>,Windows.ApplicationModel.Activation.ActivatedEventsContract.winmd;<winmd>,Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.winmd;<winmd>,Windows.ApplicationModel.Activation.ContactActivatedEventsContract.winmd;<winmd>,Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract.winmd;<winmd>,Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd;<winmd>,Windows.ApplicationModel.Calls.LockScreenCallContract.winmd;<winmd>,Windows.ApplicationModel.FullTrustAppContract.winmd;<winmd>,Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract.winmd;<winmd>,Windows.ApplicationModel.Preview.Notes.PreviewNotesContract.winmd;<winmd>,Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.winmd;<winmd>,Windows.ApplicationModel.Search.Core.SearchCoreContract.winmd;<winmd>,Windows.ApplicationModel.Search.SearchContract.winmd;<winmd>,Windows.ApplicationModel.Wallet.WalletContract.winmd;<winmd>,Windows.Devices.Portable.PortableDeviceContract.winmd;<winmd>,Windows.Devices.Printers.Extensions.ExtensionsContract.winmd;<winmd>,Windows.Devices.Scanners.ScannerDeviceContract.winmd;<winmd>,Windows.Devices.Sms.LegacySmsApiContract.winmd;<winmd>,Windows.Gaming.Input.GamingInputPreviewContract.winmd;<winmd>,Windows.Gaming.Preview.GamesEnumerationContract.winmd;<winmd>,Windows.Gaming.UI.GameChatOverlayContract.winmd;<winmd>,Windows.Gaming.UI.GamingUIProviderContract.winmd;<winmd>,Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract.winmd;<winmd>,Windows.Management.Deployment.Preview.DeploymentPreviewContract.winmd;<winmd>,Windows.Management.Deployment.SharedPackageContainerContract.winmd;<winmd>,Windows.Management.Workplace.WorkplaceSettingsContract.winmd;<winmd>,Windows.Media.AppBroadcasting.AppBroadcastingContract.winmd;<winmd>,Windows.Media.AppRecording.AppRecordingContract.winmd;<winmd>,Windows.Media.Capture.AppBroadcastContract.winmd;<winmd>,Windows.Media.Capture.AppCaptureContract.winmd;<winmd>,Windows.Media.Capture.AppCaptureMetadataContract.winmd;<winmd>,Windows.Media.Capture.CameraCaptureUIContract.winmd;<winmd>,Windows.Media.Capture.GameBarContract.winmd;<winmd>,Windows.Media.Devices.CallControlContract.winmd;<winmd>,Windows.Media.MediaControlContract.winmd;<winmd>,Windows.Media.Playlists.PlaylistsContract.winmd;<winmd>,Windows.Media.Protection.ProtectionRenewalContract.winmd;<winmd>,Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd;<winmd>,Windows.Networking.XboxLive.XboxLiveSecureSocketsContract.winmd;<winmd>,Windows.Perception.Automation.Core.PerceptionAutomationCoreContract.winmd;<winmd>,Windows.Security.EnterpriseData.EnterpriseDataContract.winmd;<winmd>,Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd;<winmd>,Windows.System.UserProfile.UserProfileContract.winmd;<winmd>,Windows.System.UserProfile.UserProfileLockScreenContract.winmd;<winmd>,Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd;<winmd>,Windows.UI.Core.AnimationMetrics.AnimationMetricsContract.winmd;<winmd>,Windows.UI.Core.CoreWindowDialogsContract.winmd;<winmd>,Windows.UI.Shell.SecurityAppManagerContract.winmd;<winmd>,Windows.UI.Xaml.Hosting.HostingContract.winmd;<winmd>,Windows.Web.Http.Diagnostics.HttpDiagnosticsContract.winmd;<winmd>,Windows.Embedded.DeviceLockdown.DeviceLockdownContract.winmd;<winmd>,Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract.winmd;<winmd>,Windows.Phone.PhoneContract.winmd;<winmd>,Windows.Phone.StartScreen.DualSimTileContract.winmd;<winmd>,Windows.UI.WebUI.Core.WebUICommandBarContract.winmd;<winmd>,Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract.winmd".
	
Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.V8.dll at System.String Microsoft.ClearScript.V8.V8ScriptEngine::GetStackTrace().
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`1.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`1.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`2.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`2.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`3.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`3.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`4.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`4.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`5.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`5.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`6.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`6.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`7.
Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`7.
Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScrip<message truncated>

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.V8.dll at System.String Microsoft.ClearScript.V8.V8ScriptEngine::GetStackTrace().
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`1.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`1.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`2.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`2.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`3.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`3.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`4.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`4.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`5.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`5.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`6.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`6.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`7.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`7.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`8.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`8.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`9.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`9.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`10.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`10.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`11.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`11.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`12.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`12.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`13.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`13.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`14.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`14.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`15.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`15.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`16.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`16.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`17.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/ProcShim`17.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`2.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`2.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`3.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`3.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`4.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`4.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`5.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`5.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`6.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`6.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`7.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`7.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`8.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`8.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`9.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`9.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`10.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`10.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`11.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`11.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`12.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`12.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`13.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`13.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`14.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`14.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`15.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`15.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`16.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`16.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`17.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`17.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: type `System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`18.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.DelegateFactory/FuncShim`18.
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.PropertyBag Microsoft.ClearScript.HostTypeCollection::GetNamespaceNode(System.String).
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.PropertyBag Microsoft.ClearScript.HostTypeCollection::AddEnumTypeInfoInternal(System.Runtime.InteropServices.ComTypes.ITypeInfo).
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.PropertyBag Microsoft.ClearScript.HostTypeCollection::GetOrCreateEnumTypeInfoNode(System.Runtime.InteropServices.ComTypes.ITypeInfo).
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at Microsoft.ClearScript.PropertyBag Microsoft.ClearScript.HostTypeCollection::GetOrCreateNamespaceNode(System.String).
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Reference rewriter: Error: method `System.String[] System.String::Split(System.Char,System.StringSplitOptions)` doesn't exist in target framework. It is referenced from ClearScript.Core.dll at System.String Microsoft.ClearScript.Util.MiscHelpers::FormatCode(System.String).
UnityEngine.Debug:LogError (object)
PostProcessWinRT:RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1196)
PostProcessWinRT:Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:203)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Exception: IL2CPP error for method 'System.String Microsoft.ClearScript.Util.MiscHelpers::FormatCode(System.String)' in assembly 'D:\Repositories\XXX\Unity\XXX\Temp\StagingArea\Data\Managed\ClearScript.Core.dll'
System.NullReferenceException: Object reference not set to an instance of an object.
   at Unity.IL2CPP.MethodBodyWriter.WriteMethodCallExpression(String returnVariable, Func`1 getHiddenMethodInfo, IGeneratedMethodCodeWriter writer, MethodReference callingMethod, MethodReference methodToCall, MethodReference unresolvedMethodtoCall, TypeResolver typeResolverForMethodToCall, MethodCallType callType, IRuntimeMetadataAccess runtimeMetadataAccess, IVTableBuilder vTableBuilder, IEnumerable`1 argumentArray, Boolean useArrayBoundsCheck, Func`2 addUniqueSuffix)
   at Unity.IL2CPP.MethodBodyWriter.WriteCallExpressionFor(MethodReference callingMethod, MethodReference unresolvedMethodToCall, MethodCallType callType, List`1 argsFor, Func`2 addUniqueSuffix, Boolean emitNullCheckForInvocation)
   at Unity.IL2CPP.MethodBodyWriter.WriteCallExpressionFor(MethodReference unresolvedMethodToCall, MethodCallType callType, List`1 poppedValues, Func`2 addUniqueSuffix, Boolean emitNullCheckForInvocation)
   at Unity.IL2CPP.MethodBodyWriter.ProcessInstruction(Node node, InstructionBlock block, Instruction& ins)
   at Unity.IL2CPP.MethodBodyWriter.GenerateCodeRecursive(Node node)
   at Unity.IL2CPP.MethodBodyWriter.Generate()
   at Unity.IL2CPP.CodeWriters.CodeWriterExtensions.WriteMethodWithMetadataInitialization(IGeneratedMethodCodeWriter writer, String methodSignature, String methodFullName, Action`2 writeMethodBody, String uniqueIdentifier, MethodReference methodRef)
   at Unity.IL2CPP.MethodWriter.WriteMethodDefinition(AssemblyWriteContext context, IGeneratedMethodCodeWriter writer, MethodReference method, Boolean addToMethodCollection)
   at Unity.IL2CPP.SourceWriter.WriteType(SourceWritingContext context, IGeneratedMethodCodeWriter writer, TypeReference type, NPath filePath, Boolean writeMarshalingDefinitions, Boolean addToMethodCollection)
   at Unity.IL2CPP.SourceWriters.TypeMethodsSourceWriter.WriteItem(SourceWritingContext context, IGeneratedMethodCodeWriter writer, TypeDefinition item, NPath filePath)
   at Unity.IL2CPP.SourceWriters.SourceWriterBase`1.WriteItem(StreamWorkItemData`2 data)
   at Unity.IL2CPP.Contexts.Scheduling.Streams.FileLevelParallelStreamManager`2.WorkerWriteItemsToFile(WorkItemData`2 data)
   at Unity.IL2CPP.Contexts.Scheduling.PhaseWorkScheduler`1.WorkerLoop(Object data)
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditorInternal.IL2CPPBuilder.Run () (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <68089899e4c84456bfc1de3436accf4a>:0)
PostProcessWinRT.RunIL2CPPForProjectBuild () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1910)
PostProcessWinRT.RunIL2CPP () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1879)
PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:211)
UnityEditor.UWP.BuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:86)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
UnityEditor.UWP.BuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:90)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <68089899e4c84456bfc1de3436accf4a>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Build completed with a result of 'Failed' in 54 seconds (54240 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

UnityEditor.BuildPlayerWindow+BuildMethodException: 77 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <68089899e4c84456bfc1de3436accf4a>:0 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <68089899e4c84456bfc1de3436accf4a>:0 
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


Mt-Perazim avatar Mar 30 '22 07:03 Mt-Perazim

Hi @arsi0001,

Thanks for posting that log. If we're reading it correctly, your issues are limited to the following:

It looks like you're building ClearScript yourself. If that's correct, you could try rebuilding after changing the code to use this string.Split overload and eliminating [ExcludeFromCodeCoverage] completely.

Is that something you could try?

ClearScriptLib avatar Mar 30 '22 13:03 ClearScriptLib

@ClearScriptLib This is not a log from building the dlls. This is the building log from unity. And in my unity project I have the mentioned dlls.

Originally I had the DLLs built via the ClearScript project. I did not unpack them from a nuget package, but let your complete project build. I then put the resulting dlls into my Unity project and when I then build the Unity project I get this log.

But I guess I can build your whole clearscript project again, with those two fixed things you mentioned (split&coverage) and then retry those dlls?

Mt-Perazim avatar Mar 31 '22 08:03 Mt-Perazim

Hi @arsi0001,

But I guess I can build your whole clearscript project again, with those two fixed things you mentioned (split&coverage) and then retry those dlls?

Yes. The issues you're encountering seem to be limited to ClearScript's managed code, so there's no need to rebuild V8 via the V8Update script. Just rebuild ClearScript's managed solution after making those changes, and please let us know how it goes.

Good luck!

ClearScriptLib avatar Mar 31 '22 13:03 ClearScriptLib

@ClearScriptLib Hi :) I did what you said and it worked. I was able to build my project afterwards. However, the next problem was not long in coming. I now get an error in the application on the HoloLens when I try to create an object of the engine (after the line Text.text += "ClearScriptEngine>Start>ENABLE_WINMD_SUPPORT \n"; below).

Right now I'm just using the two uap dlls, Core and V8. I also tried it additional with the ClearScriptV8.win-arm64.dll, but I guess I dont need that; anyway I get the same error output. What is the V8SplitProxyNative.UWP.tt under bin\Release\uap10.0\ClearScript.V8\V8\SplitProxy for? Do I need that?

The lines with Text.text are used for quick debugging in the ar-scene in my application. My code:

    void Start()
    {
        try
        {
            Text.text = "ClearScriptEngine>Start \n";

#if ENABLE_WINMD_SUPPORT
            Text.text += "ClearScriptEngine>Start>ENABLE_WINMD_SUPPORT \n";
            var engine = new V8ScriptEngine();

            Text.text += "Created engine object \n";
            var newPath = Path.Combine(Application.persistentDataPath, "ClearScript.js");

            Text.text += "Generated Path: " + newPath + "\n";
            engine.Execute(File.ReadAllText(newPath));

            var values = (ITypedArray<int>)engine.Script.values;
            Text.text += string.Join(", ", values.ToArray()) + "\n";
#endif
        }
        catch (Exception ex)
        {
            Text.text += "EXCEPTION MSG: " + ex.Message + "\n";
            Text.text += "EXCEPTION STACK: " + ex.StackTrace + "\n";
        }
    }

My Output:

Clearscript>Start
ClearScriptEngine>Start>ENABLE_WINMD_SUPPORT
EXCEPTION MSG:
Unable to load DLL 'kernel32.dll': The specific module could not be found.
EXCEPTION STACK:
at Microsoft.ClearScript.Util.NativeMethods.NativeWindowsMethods.LoadLibraryW (System.String path) [0x00000] in <0...0>:0
at Microsoft.ClearScript.Util.NativeMethods.NativeWindowsMethods.LoadLibrary (System.String path) [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.V8Proxy.LoadNativeLibrary (System.String baseName, System.String platform, System.String architecture, System.String extension) [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.V8Proxy.LoadNativeAssembly () [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.V8Proxy.OnEntityHolderCreated () [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.SplitProxy.V8IsolateProxyImpl..ctor (System.String name, Microsoft.ClearScript.V8.V8RuntimeConstrains constrains, Microsoft.ClearScript.V8.V8RuntimeFlags flags, System.Int32 debugPort) [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.V8Runtime..ctor (System.String name, Microsoft.ClearScript.V8.V8RuntimeConstrains constrains, Microsoft.ClearScript.V8.V8RuntimeFlags flags, System.Int32 debugPort) [0x00000] in <0...0>:0
at Microsoft.ClearScript.V8.V8ScriptEngine..ctor (Microsoft.ClearScript.V8.V8Runtime runtime, System.String name, Microsoft.ClearScript.V8.V8RuntimeConstrains constrains, Microsoft.ClearScript.V8.V8ScriptEngineFlags flags, System.Int32 debugPort) [0x00000] in <0...0>:0
at ClearScriptEngine.Start () [0x00000] in <0...0>:0

Mt-Perazim avatar Apr 08 '22 07:04 Mt-Perazim

Hi @arsi0001,

What is the V8SplitProxyNative.UWP.tt under bin\Release\uap10.0\ClearScript.V8\V8\SplitProxy for?

That's a source file. You don't need to deploy it.

Unable to load DLL 'kernel32.dll': The specific module could not be found.

When you instantiate V8ScriptEngine for the first time, ClearScript loads the native V8 assembly (ClearScriptV8.win-arm64.dll). It does that by calling LoadLibraryW via P/Invoke. That's where the problem currently lies. Apparently UWP doesn't support LoadLibrary, although it appears to work on desktop versions of Windows – which is probably why we can't reproduce this.

How are you building and running the above code? Could you share a minimal project that reproduces the issue?

Thanks!

ClearScriptLib avatar Apr 08 '22 13:04 ClearScriptLib

Hi @ClearScriptLib, I will create such a minimal project and publish it. Currently, however, I am already on vacation and will report here again in about 2 weeks! So please do not close this post. Thanks a lot for your support!

Mt-Perazim avatar Apr 16 '22 18:04 Mt-Perazim

Hi @ClearScriptLib, I created a minimal setup for you. It should be preconfigured, so the only thing you have to do is, to build it and then deploy it on the HoloLens. After doing so you should get this text in front of you: 20220504_022648_HoloLens

--Edit I realized, after downloading my project from Github, that you need to switch the plattform from PC Standalone to UWP: grafik

Mt-Perazim avatar May 04 '22 09:05 Mt-Perazim

Hi @arsi0001,

Thank you so much for sharing your sample!

Unfortunately, ClearScript is a side project, and we don't have HoloLens hardware, so we can't test potential fixes in the target environment. However, we have some ideas about the possible cause, and we may be able to share test builds for you to try.

But first, a newbie question: Your sample repository doesn't appear to include any VS project or solution files. How do we open and/or build it?

Thanks!

ClearScriptLib avatar May 05 '22 12:05 ClearScriptLib

Hi @ClearScriptLib :) That was a mistake on my part. I assumed you were familiar with the game engine Unity and could deploy it to a HoloLens. That assumption of mine is ridiculous, I don't know why I thought that.

Unity 2020.3.30 and VS 2019 are required to open the project. When installing Unity, make sure that the modules for UWP and Windows Build Support are checked. In VS2019 you also have to check the modules "Development for UWP" and "Gamedevelopment with Unity".

However, instead of installing Unity, I could give you the ready build. But this won't be of much use though, as Unity builds using IL2CPP (intermediate language to c++, that is not realy readable). The only thing I do with this il2cpp build is deploying it to the HoloLens.

Mt-Perazim avatar May 06 '22 07:05 Mt-Perazim

Thanks @arsi0001.

Do you know whether the issue is reproducible in the HoloLens Emulator?

EDIT: Yes, it is!

Thanks!

ClearScriptLib avatar May 18 '22 14:05 ClearScriptLib

Hi again @arsi0001,

We were able to reproduce your issue by building for x64 and deploying to the HoloLens Emulator. Apparently the standard kernel32 library is unavailable on HoloLens, making it impossible to load native assemblies via P/Invoke. That turned out to be OK, as ClearScriptV8.win-x64.dll had been loaded automatically as a configured plugin.

Unfortunately, we then encountered another problem – the IL2CPP backend apparently supports Reverse P/Invoke but requires a non-standard attribute, MonoPInvokeCallback, to be applied to each entry point.

At this point we decided to abandon the effort. This HoloLens/Unity/IL2CPP platform seems to have incomplete compatibility with standard .NET runtimes, especially when it comes to dealing with unmanaged code.

Even if we could get it working, we'd have to provide special builds of the ClearScript managed assemblies – assuming the native ones work as is, which is unlikely – and publish them separately. Unfortunately, as ClearScript is a side project, supporting the major desktop platforms – including the eight CPU-specific V8 builds – is already stretching the limits of the resources available.

Have you considered using a pure .NET JavaScript engine such as Jint?

ClearScriptLib avatar May 20 '22 13:05 ClearScriptLib

@ClearScriptLib Thank you very much for your efforts and help! You have already done more than necessary! In the current project we are already working with Jint. However, we wanted to use ClearScript if possible, since we had already used your engine in other projects :)

Mt-Perazim avatar May 20 '22 18:05 Mt-Perazim

Hi @arsi0001,

Please feel free to reopen this issue if you have additional questions about this topic.

Thank you!

ClearScriptLib avatar Aug 29 '22 15:08 ClearScriptLib