Search Issue Tracker
Fixed
Votes
0
Found in
2020.2.0a17
2020.2.0b3
Issue ID
1277881
Regression
Yes
IL2CPP builds fail when using Mirror networking package
Reproduction steps:
1. Open the attached project ("case_1277881-IL2CPP-Mirror-build.zip")
2. Try making Standalone IL2CPP build.
Expected result: Build succeeds
Actual result: Build fails with "il2cpp.exe didn't catch exception: Unity.IL2CPP.AggregateErrorInformationAlreadyProcessedException" error
Reproducible with: 2020.2.0a17, 2020.2.0b3
Not reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.6f1, 2020.2.0a16
Notes:
1. The issue does not reproduce when building with Mono backend
2. Mirror is based on Unity's abandoned UNET Networking system, and it can be found on Asset Store: https://assetstore.unity.com/packages/tools/network/mirror-129321
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
larus
Dec 15, 2020 21:04
The bug is actually in Mirror weaver code, but it's also in UNet weaver. This has been fixed in com.unity.multiplayer-hlapi package, version 1.0.8. Similar fix likely also works for Mirror. It was in UNetWeaver.cs during the cecil ResolveMethod calls, for the log functions Debug.LogWarning and Debug.LogError. Issue was the function signatures changed in 2020.2 and the weaver generated invalid IL code as a result.