Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[FB SDK >12] Unloading broken assembly for Gameroom

Discussion in 'Scripting' started by unity_RU_g_h824xCnag, Jun 13, 2022.

  1. unity_RU_g_h824xCnag

    unity_RU_g_h824xCnag

    Joined:
    Jan 7, 2021
    Posts:
    3
    Hello, I'm currently trying to update the Facebook SDK Version and when trying to import the package for versions 12 or 13.2, I have the following exception on Unity.

    Unloading broken assembly Assets/FacebookSDK/Plugins/Gameroom/Facebook.Unity.Gameroom.dll, this assembly can cause crashes in the runtime


    Do you guys know any solution for this?
    I tried with 3 projects with Unity 2021.3.1f1 and all of the three spawn the same issue.
    Currently we are upgrading our games to that version and API 31 for Android so downgrading or keeping our current versions of Unity is not a solution.

    Thanks in advance!

    (Also I'm not very sure if this kind of issues goes in this section so sorry if I didn't put it inside the correct forum)

     
    noptanakhon11 likes this.
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,150
    Are you using the Facebook Unity SDK?

    Facebook has always been a pain to work with, in the past though it was a matter of deleting the old Facebook folder from the project and then importing the new one.

    I know in a recent project where I had to add the Facebook SDK, I did not include the Gameroom stuff, since Gameroom is dead.
     
    prashanthsp and AminAghajoon like this.
  3. unity_RU_g_h824xCnag

    unity_RU_g_h824xCnag

    Joined:
    Jan 7, 2021
    Posts:
    3
    Thanks! Will try to delete the gameroom stuff and make it work so I can keep up to date.
    For anyone reading this in the future take into account the dependencies and the manifests that points to gameroom.
     
  4. llim_unity

    llim_unity

    Joined:
    Feb 13, 2020
    Posts:
    12

    Hi, just curious, were you able to resolve this editor error message? Did you just remove the Gameroom.dll file?
     
    d_sharov likes this.
  5. vuthang

    vuthang

    Joined:
    Mar 7, 2017
    Posts:
    43
    Delete facebook folder and re-import facebook sdk