Search Unity

Bug Cannot create Settings Provider for: CreateNetcodeSettingsProvider

Discussion in 'Netcode for GameObjects' started by TheEugeneL, Dec 19, 2022.

  1. TheEugeneL

    TheEugeneL

    Joined:
    Dec 7, 2017
    Posts:
    43
    I get an error when installing Netcode for GameObjects 1.2.0

    Cannot create Settings Provider for: CreateNetcodeSettingsProvider

    With version 1.1.0 everything is fine.

    Unity 2020.3.42f1
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Hi @TheEugeneL , thanks for flagging it.

    1. Does this reproduce with a new project, or only when upgrading in your current one?
    2. Could you please open a bug report here, adding the stack trace (if any)?

    I just tried reproducing it with Unity 2020.3.26f1, but there are no errors there.
     
  3. TheEugeneL

    TheEugeneL

    Joined:
    Dec 7, 2017
    Posts:
    43
    Hi @RikuTheFuffs-U,

    1. Both. Current on a and with a new project. I tried to reboot my intel macbook pro, but still got this error.
    2. Ok. I'll do it a little later.

    Btw I switched to Mirror. So right now it's not so important to me.
    Thank you!
     
  4. poc-tech

    poc-tech

    Joined:
    Jan 5, 2017
    Posts:
    4
    Hi @RikuTheFuffs-U !
    We have the same error when building assetbundles in 2020.3.40f1, upgrading an older UNET project.

    Code (JavaScript):
    1.  
    2. Cannot create Settings Provider for: CreateNetcodeSettingsProvider
    3. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    4. UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    5. UnityEngine.Logger:Log (UnityEngine.LogType,object)
    6. UnityEngine.Debug:LogError (object)
    7. UnityEditor.SettingsService/<>c:<FetchSettingProviderFromAttribute>b__16_0 (UnityEditor.AttributeHelper/MethodWithAttribute)
    8. System.Linq.Enumerable/SelectListIterator`2<UnityEditor.AttributeHelper/MethodWithAttribute, UnityEditor.SettingsProvider>:MoveNext ()
    9. System.Linq.Enumerable/ConcatIterator`1<UnityEditor.SettingsProvider>:MoveNext ()
    10. System.Linq.Enumerable/WhereEnumerableIterator`1<UnityEditor.SettingsProvider>:ToArray ()
    11. System.Linq.Enumerable:ToArray<UnityEditor.SettingsProvider> (System.Collections.Generic.IEnumerable`1<UnityEditor.SettingsProvider>)
    12. UnityEditor.SettingsService:FetchSettingsProviders ()
    13. UnityEditor.SettingsWindow:Init ()
    14. UnityEditor.SettingsWindow:OnSettingsProviderChanged ()
    15. UnityEditor.SettingsService:NotifySettingsProviderChanged ()
    16. UnityEngine.InputSystem.Editor.InputSettingsProvider:ForceReload () (at Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Editor/Settings/InputSettingsProvider.cs:459)
    17. UnityEngine.InputSystem.InputSystem:OnProjectChange () (at Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/InputSystem.cs:3337)
    18. UnityEngine.InputSystem.LowLevel.NativeInputRuntime:OnProjectChanged () (at Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/NativeInputRuntime.cs:338)
    19. UnityEditor.EditorApplication:Internal_CallProjectHasChanged ()
    20. UnityEditor.BuildPipeline:BuildAssetBundles (string,UnityEditor.BuildAssetBundleOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget)
    21. UnityEditor.BuildPipeline:BuildAssetBundles (string,UnityEditor.BuildAssetBundleOptions,UnityEditor.BuildTarget)
    22.  
     
    Last edited: Jan 2, 2023
  5. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Thanks for flagging it! Based on the stack trace, it seems to be related to the input system package. I flagged it to the relevant team so they can investigate it
     
  6. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    I took a look and could not reproduce this issue on neiter Windows nor MacOS using the latest Input System version and the Netcode 1.1 & 1.2 versions.

    Getting the hands on a repro project via a bug report form you would be much appreciated. Thanks!
     
  7. emanfernandez20

    emanfernandez20

    Joined:
    Jun 8, 2021
    Posts:
    1
    i have this error too. unity version is 2020.3.22f1

    but if I use a newer version of unity, I don't get this error.
     

    Attached Files:

  8. tzuvich

    tzuvich

    Joined:
    Oct 18, 2022
    Posts:
    1
    Also seeing this error when attempting to upgrade from NetcodeForGameObjects 1.0.2 => 1.2.0. Unity 2020.3.33f1.
     
  9. FreshlyBrewed

    FreshlyBrewed

    Joined:
    Nov 12, 2019
    Posts:
    4
    Same problem here. Unity 2020.3.41f1, Netcode 1.2.0
     
  10. HappyGameDev

    HappyGameDev

    Joined:
    Jul 2, 2017
    Posts:
    2
    Had the same problem @FreshlyBrewed on Unity 2020.3.41f1, Netcode 1.2.0.

    I closed the inspector window showing the Build Settings + Player Settings, restarted Unity and now the error is gone.