Search Unity

Bug Unity 2021.2 editor crash on launch...

Discussion in 'Editor & General Support' started by keilove_mac, Dec 12, 2021.

  1. keilove_mac

    keilove_mac

    Joined:
    Jul 19, 2021
    Posts:
    2
    1. Create empty project
    2. Add to Pakages/Manifest.json
    "com.google.external-dependency-manager": "file:../Firebase/com.google.external-dependency-manager-1.2.167.tgz",
    "com.google.firebase.app": "file:../Firebase/com.google.firebase.app-8.6.2.tgz",
    3. Download the file from the link and add it to the Firebase folder.
    https://developers.google.com/unity/archive
    4. Restart Unity editor
    5. Crash

    Do you have a solution
     
  2. keilove_mac

    keilove_mac

    Joined:
    Jul 19, 2021
    Posts:
    2
    The errors in the editor log are as follows.

    * Assertion at loader.c:345, condition `is_ok (error)' not met, function:mono_field_from_token, Could not resolve field token 0x0400001c, due to: Could not load type of field 'Firebase.Editor.GenerateXmlFromGoogleServicesJson:<>f__mg$cache0' (17) due to: Could not load file or assembly 'Google.JarResolver, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:/Volumes/SSD/Cocone/Sample/Firebase Test/Library/PackageCache/com.google.firebase.app@5fc4aca34f16-1639271402353/Firebase/Editor/Firebase.Editor.dll type:GenerateXmlFromGoogleServicesJson member:(null)
     
  3. Francesco-FL

    Francesco-FL

    Joined:
    May 25, 2021
    Posts:
    176
    Have you submitted a bug report?
    Unity => Help => Report a bug

    Then write the request number in the thread title
     
  4. lim_hyungkyu

    lim_hyungkyu

    Joined:
    Oct 14, 2018
    Posts:
    6
    Resolved in com.google.external-dependency-manager-1.2.168. It won't crash