Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. 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,199
    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
     
    Matus2123, micos7, tzdevil and 2 others like this.
  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.
  7. Matus2123

    Matus2123

    Joined:
    Oct 27, 2021
    Posts:
    3
    Thanks buddy, it did solve my issue!.