Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.2.2f1

Issue ID

1067170

Regression

No

[IL2CPP] System.Diagnostics.Eventing.EventProviderTraceListener is not implemented

IL2CPP

-

Steps to reproduce:
1. Download attached project
2. Switch platform to UWP
3. Build project (Scripting Runtime Version .NET 4.x, Il2CPP backend)

In 2018.2, the class doesn't even exist in Mono's class libraries. So you get this error:

Results: System.Diagnostics.Eventing.EventProviderTraceListener doesn't exist

Exception:
Reference rewriter: Error: type `System.Diagnostics.Eventing.EventProviderTraceListener` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at test.
UnityEngine.Debug:LogError(Object)
PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1058)
PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:217)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Reproduced with: 2018.2.6f1, 2018.1.9f1, 2017.4.9f1

In 2018.3+, the class was added, but all methods throw not implemented exceptions.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.