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. Dismiss Notice

Error when changing Scripts

Discussion in '2021.1 Beta' started by elJoel, Dec 17, 2020.

  1. fuliu

    fuliu

    Joined:
    Apr 16, 2018
    Posts:
    2
    I upgraded the project from 2021.3.15f1c1 to 2022.2.8f1c1 and encountered this problem:
    Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/_GamePlayModeTests.dll, with 139 defines and 220 references
    Invalid ILPostProcessor configuration: System.InvalidOperationException: Configuration not initialized
    .
    The first time I opened the project with 2022.2.8f1c1, I didn't have this problem, but the second time I opened the project, I got a bunch of similar errors.
    The solution was to remove an unused plug-in from the PackageManager in a project (I can't remember which one), update the TimeLine, and somehow this error disappeared.
    The high probability is that this type of error occurs because the version of Timeline is too low. It is not entirely certain that the problem is completely solved. After all, it happened the second time i opened the project with a new version of Unity.
     
  2. RichyHuang

    RichyHuang

    Joined:
    Aug 24, 2020
    Posts:
    10
    My Project has the same problems while its path has no space...
     
  3. EugenBorman

    EugenBorman

    Joined:
    Mar 31, 2023
    Posts:
    1
    My path is 'G:\Unity\Projects\Test' and I have same problem.
     
  4. daygood

    daygood

    Joined:
    Sep 15, 2017
    Posts:
    1

    my problem fixed with this, I checked caused error script and deleted namespace that I don't use it.
     
  5. vavilov9823

    vavilov9823

    Joined:
    Apr 11, 2021
    Posts:
    5
    Unity 2021.3.21f1 same issue... Still not fixed.
    Its appear when try to build on Android
     
  6. uzair_shaikh

    uzair_shaikh

    Joined:
    Jan 28, 2022
    Posts:
    1
    It worked for me:
    1-Remove the project from the Unity hub by selecting "Remove Project From Disc."
    2-Reset the project's path.
    3-Reimport the project's libraries
     
  7. El1t3L33t

    El1t3L33t

    Joined:
    Jun 14, 2020
    Posts:
    13
    Experiencing the same issue on 2022.3.0 .... Very annoying for our development.
     
  8. bangpr00

    bangpr00

    Joined:
    Jul 3, 2012
    Posts:
    2
    I get this error when trying to upgrade.
    ================================================
    Script updater for Library\Bee\artifacts\1900b0aE.dag\Assembly-CSharp-Editor.dll failed with exitcode 130 and stdout: [Script Updater] Failed to resolve type
    ================================================
    I've tried everything you're talking about.Have no effect.
    After many attempts, I found my own solution.
    In my case, it was solved by modifying editor scripts function.

    Handles.FreeMoveHandle(Vector3 position, Quaternion rotation, float size, Vector3 snap, CapFunction capFunction)

    replace it , just remove rotation parameter.
    => Handles.FreeMoveHandle(Vector3 position, float size, Vector3 snap, CapFunction capFunction)
     
    AceJiang likes this.
  9. chethanv_777

    chethanv_777

    Joined:
    Oct 26, 2022
    Posts:
    6