Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.1.X, 2019.2.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.0f1
2019.2.0a1
2019.3.0a1
Issue ID
1146982
Regression
No
[UWP] [IL2CPP] UnityEngine.WSA.Application.windowActivated is removed by IL2CPP Managed bytecode stripping
Steps to reproduce:
1. Download 1146982_repro.zip
2. Build project for UWP
3. Build Visual Studios solution
Expected results: UnityEngine.WSA.Application.windowActivated event is called
Actual results: UnityEngine.WSA.Application.windowActivated event never fires. Is removed by IL2CPP Managed bytecode stripping
Reproduced with: 2019.3.0a1, 2019.2.0a12, 2019.1.0f2, 2018.3.13f1, 2017.4.26f1
Workaround:
- Add link.xml file to the project
<linker>
<assembly fullname="UnityEngine.CoreModule">
<type fullname="UnityEngine.WSA.Application" preserve="nothing">
<method name="InvokeWindowActivatedEvent"/>
</type>
</assembly>
</linker>
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (fix version 2019.3):
Fixed in 2019.3.0a6, 2019.2.0b6