Quickstart-unity: Firebase 5.2.1 Assemblies Not Loading in Unity 2018.3.0b1

Created on 12 Sep 2018  路  4Comments  路  Source: firebase/quickstart-unity

I am receiving the following errors when upgrading a Unity 2018.2.7f1 project with Firebase 5.2.1 (Analytics only) installed to the newest beta, Unity 2018.3.0b1, on every refresh:

Assembly 'Assets/Firebase/Editor/Firebase.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'Unity.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?

Assembly 'Assets/PlayServicesResolver/Editor/Google.IOSResolver.dll' will not be loaded due to errors:
Unable to resolve reference 'Unity.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?

Unity Player Settings:

Platform: iOS
Run in Xcode as: Release
Development Build: False
Scripting Runtime Version: .NET 4.x Equivalent
Api Compatibility Level: .NET 4.x
Architecture: Universal
Strip Engine Code: True
Managed Stripping Level: Normal

I have also installed IncrementalCompiler Version 0.0.42 (Preview 19), and my csproj files are set to use C# Language Level C# 7.3. All non-Firebase script and plugin folders are using asmdef files.

As this is only related to Editor DLLs (the iOS Play Resolver and the Firebase Editor), I have not tested on device yet.

image

bug

Most helpful comment

Still happening with firebase 5.3.0. Anybody found a fix?

All 4 comments

That happened to me but just AFTER upgrading Xcode to version 10

Have since tested on device. I needed to manually create the (or copy an old) pod file as well as copy the GoogleService-Info.plist and manually link it to the project. The build seems to be running fine, so this isn't affecting my ability to create apps, but it is an annoyance adding steps to the build process. I haven't tested what happens when you do Append during the build process in Unity, as I normally just build to clean folders.

Still happening with firebase 5.3.0. Anybody found a fix?

This should be fixed in the 5.3.1 SDK release https://firebase.google.com/support/release-notes/unity#5.3.1 . Though I noticed that Unity 2018.3 beta enables .NET 4.6 by default which means you'll need to do https://firebase.google.com/docs/unity/setup#installing_plugins_in_unity_2017x_net_4x_projects

Was this page helpful?
0 / 5 - 0 ratings