Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b13
Issue ID
1028052
Regression
No
[Mobile][IL2CPP] IL2CPP with .NET 4.x compatibility crashes on build when using Firebase plugin
How to reproduce:
1. Open attached user project and change platform to iOS/Android
2. Make sure that Scripting Runtime Version is set to .NET 4.x and Scripting Backend is set to IL2CPP(Edit --> Project Settings --> Player)
3. Build to device
Expected result: Player gets built
Actual result: Build fails with "IL2CPP error for method 'System.Boolean Firebase.Unity.UnitySynchronizationContext/SynchronizationContextBehavoir/<Start>c__Iterator0::MoveNext()' in assembly '/Users/odzzdo/Projects/milsoft/UnityBugs/Firebase/il2cppBug/Temp/StagingArea/assets/bin/Data/Managed/Firebase.Platform.dll'"
Not reproducible in - 2018.2.0b1
Reproducible with - 2018.1.0f1, 2017.4.2f1, 2017.3.0a1
Additional notes:
-Building with .NET 4.x and IL2CPP and .NET 4.x compatibility (Build fails)
-Building with .NET 4.x and IL2CPP and .NET Standard 2.0 compatibility (Build fails)
-Building with .NET 4.x and Mono (Build is succesful)
-Building with .NET 3.5 and IL2CPP with .NET 2.0 (Build is succesful)
-Building with .NET 3.5 and IL2CPP with .NET 2.0 Subset (Build is succesful)
Comments (2)
-
mc1695
Jun 22, 2018 14:31
Still facing this issue in 2018.1.6f1
Can't find anything in 2018.1 release mentioning this fix either
-
Gamersinitfusion
May 31, 2018 14:16
Hi,
Still facing this issue in 2018.1.2.f1
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note (fix version 2018.1):
This issue has been fixed since 2018.2