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

IL2CPP

-

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)

  1. Resolution Note (fix version 2018.1):

    This issue has been fixed since 2018.2

Comments (2)

  1. 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

  2. Gamersinitfusion

    May 31, 2018 14:16

    Hi,

    Still facing this issue in 2018.1.2.f1

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.