banner
May 11, 2022
253 Views

Lỗi Could not load type of field ‘Google.IOSResolver:settings’

Written by
banner

Khi import Facebook SDK thì gặp lỗi làm crash Unity liên tục.

Begin MonoManager ReloadAssembly
* Assertion at C:\build\output\Unity-Technologies\mono\mono\metadata\loader.c:345, condition `is_ok (error)' not met, function:mono_field_from_token, Could not resolve field token 0x04000030, due to: Could not load type of field 'Google.IOSResolver:settings' (42) due to: Could not load file or assembly 'Google.VersionHandlerImpl, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:C:\Users\dinhn\OneDrive\Documents\GitHub\HomeReDecor\Assets\PlayServicesResolver\Editor\Google.IOSResolver.dll type:IOSResolver member:(null)

Crash!!!

If you haven't added resolver as a dependency in package manager

  1. Delete Assets/ExternalDependencyManager folder
  2. Delete Assets/PlayServicesResolver folder (if exists)
  3. Download the latest package from here (direct link)
  4. Import the package from step 3 to your project.

If you have added as a dependency in package manager

  1. Open Window -> Package Manager
  2. Update External Dependency Manager listing to latest update

Source: https://forum.unity.com/threads/firebase-stopped-working-after-unity-2020-upgrade.986790/

Article Categories:
config
banner

Leave a Reply

Your email address will not be published. Required fields are marked *