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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug 2022.1.0f1 error

Discussion in 'Editor & General Support' started by pKallv, May 16, 2022.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,062
    I get this at startup of my project:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. Unity.Services.Core.Editor.EditorGameServiceRegistry.UpdateServiceActivation (Unity.Services.Core.Internal.IAsyncOperation`1[T] flagsAsyncOperation) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/EditorGameService/EditorGameServiceRegistry.cs:137)
    3. Unity.Services.Core.Internal.AsyncOperation`1[T].Fail (System.Exception reason) (at Library/PackageCache/com.unity.services.core@1.3.1/Runtime/Core.Internal/AsyncOperation/AsyncOperation.cs:190)
    4. Unity.Services.Core.Editor.ServiceFlagRequest.OnFetchServiceFlagsCompleted (UnityEngine.Networking.UnityWebRequest getServiceFlagsRequest, Unity.Services.Core.Internal.AsyncOperation`1[T] resultAsyncOp) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:66)
    5. Unity.Services.Core.Editor.ServiceFlagRequest+<>c__DisplayClass3_0.<QueryProjectFlags>b__0 (UnityEngine.AsyncOperation op) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:50)
    6. UnityEngine.AsyncOperation.InvokeCompletionEvent () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)
    7.  
     
    micos7 likes this.
  2. Explodethis

    Explodethis

    Joined:
    Jul 17, 2015
    Posts:
    1
    Same problem here in 2202.1.of1. I can't enable services in project settings. Code below is the error on the console and the image is what I see if I hover any of the services toggle.

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. Unity.Services.Core.Editor.EditorGameServiceRegistry.UpdateServiceActivation (Unity.Services.Core.Internal.IAsyncOperation`1[T] flagsAsyncOperation) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/EditorGameService/EditorGameServiceRegistry.cs:137)
    3. Unity.Services.Core.Internal.AsyncOperation`1[T].Fail (System.Exception reason) (at Library/PackageCache/com.unity.services.core@1.3.1/Runtime/Core.Internal/AsyncOperation/AsyncOperation.cs:190)
    4. Unity.Services.Core.Editor.ServiceFlagRequest.OnFetchServiceFlagsCompleted (UnityEngine.Networking.UnityWebRequest getServiceFlagsRequest, Unity.Services.Core.Internal.AsyncOperation`1[T] resultAsyncOp) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:66)
    5. Unity.Services.Core.Editor.ServiceFlagRequest+<>c__DisplayClass3_0.<QueryProjectFlags>b__0 (UnityEngine.AsyncOperation op) (at Library/PackageCache/com.unity.services.core@1.3.1/Editor/Core/ProjectStateManagement/ServiceFlagRequest.cs:50)
    6. UnityEngine.AsyncOperation.InvokeCompletionEvent () (at <18e8109bbc8d4d9bbd519504205f489b>:0)
    7.  
    upload_2022-5-16_19-35-38.png
     
  3. rom4ik

    rom4ik

    Joined:
    Dec 16, 2013
    Posts:
    1
    I update Services Core to Version 1.3.2
    It fixed for me.
     
    danandrei1 and Extiward like this.
  4. ser12392

    ser12392

    Joined:
    Nov 20, 2021
    Posts:
    1
    How do you update Services Core?
     
    pKallv likes this.
  5. Alex-id

    Alex-id

    Joined:
    Jun 16, 2013
    Posts:
    2
    In the package manager in the top-left corner press "+" btn with drop-down -> select "Add packages by name" -> In the search field put com.unity.services.core -> select the needed version from the search result
     
  6. Seich0

    Seich0

    Joined:
    Mar 8, 2014
    Posts:
    1
    i was looking for this for a long time
    thank you very much
     
    pKallv likes this.