Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.0a9
2019.2.0a1
Issue ID
1139667
Regression
No
[IL2CPP] ETW events are not triggered by EventSource class
Steps to reproduce:
1. Download 1139667_repro.zip
2. Check if "Test" Scene is added to Build Scene list
3. Build for Standalone player with IL2CPP backend
4. Start recording TraceLogging Events as described in: https://docs.microsoft.com/en-us/windows/desktop/tracelogging/tracelogging-record-and-display-tracelogging-events
5. Launch player
6. Stop recording TraceLogging Events
7. View TraceLogging data in Windows Performance Analyzer
Results: Event isn't logged by Windows Performance Recorder.
Reproduced with: 2019.2.0a10, 2019.1.0b10, 2018.3.12f1, 2017.4.24f1
Note:
-Tested with UWP and Standalone platforms
- Not reproducible with .NET and mono backends
- Reproducible with x64 and x86
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
Resolution Note:
The plugin the project is trying to use is not AOT friendly and therefore cannot be supported by IL2CPP. The EventSource initialization function is trying to marshal a delegate that points to an instance method to native code and we can only support static methods in this case. A possible workaround would be to PInvoke to a native method that uses the native API for the windows event tracing system.