Search Unity

Probuilder error

Discussion in 'Package Manager' started by unity_10bitdirect, Feb 15, 2019.

  1. unity_10bitdirect

    unity_10bitdirect

    Joined:
    Nov 9, 2017
    Posts:
    29
    I have been getting an error in unity and I think it is do to Probuilder. Do I have to just ignore it or is there some way to fix it?
    Code (CSharp):
    1. ArgumentException: JSON parse error: The document is empty.
    2. UnityEditor.EditorJsonUtility.FromJsonOverwrite (System.String json, System.Object objectToOverwrite) (at C:/buildslave/unity/build/Modules/JSONSerializeEditor/EditorJsonUtility.bindings.cs:33)
    3. UnityEditor.SettingsManagement.ProjectSettingsRepository.Init () (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/ProjectSettingsRepository.cs:41)
    4. UnityEditor.SettingsManagement.ProjectSettingsRepository.ContainsKey[T] (System.String key) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/ProjectSettingsRepository.cs:108)
    5. UnityEditor.SettingsManagement.Settings.ContainsKey[T] (System.String key, UnityEditor.SettingsScope scope) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/Settings.cs:125)
    6. UnityEditor.SettingsManagement.UserSetting`1[T].Init () (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:300)
    7. UnityEditor.SettingsManagement.UserSetting`1[T].get_value () (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:326)
    8. UnityEditor.SettingsManagement.UserSetting`1[T].op_Implicit (UnityEditor.SettingsManagement.UserSetting`1[T] pref) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:342)
    9. UnityEditor.ProBuilder.LogPreferences+<>c.<SetLogPreferences>b__1_0 () (at Library/PackageCache/com.unity.probuilder@4.0.3/Editor/EditorCore/LogEditor.cs:27)
    10. UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)
    11.  
     
  2. unity_10bitdirect

    unity_10bitdirect

    Joined:
    Nov 9, 2017
    Posts:
    29
    Also when I press play mode I get an error as well.
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.SettingsManagement.ProjectSettingsRepository.ContainsKey[T] (System.String key) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/ProjectSettingsRepository.cs:109)
    3. UnityEditor.SettingsManagement.Settings.ContainsKey[T] (System.String key, UnityEditor.SettingsScope scope) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/Settings.cs:125)
    4. UnityEditor.SettingsManagement.UserSetting`1[T].Init () (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:300)
    5. UnityEditor.SettingsManagement.UserSetting`1[T].get_value () (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:326)
    6. UnityEditor.SettingsManagement.UserSetting`1[T].op_Implicit (UnityEditor.SettingsManagement.UserSetting`1[T] pref) (at Library/PackageCache/com.unity.probuilder@4.0.3/Settings/Editor/UserSetting.cs:342)
    7. UnityEditor.ProBuilder.VersionValidator.ValidateVersion () (at Library/PackageCache/com.unity.probuilder@4.0.3/Editor/EditorCore/VersionValidator.cs:33)
    8. UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)
     
  3. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    161
    Yes, that looks like an issue with the library ProBuilder is using to save preferences. Could you please file a bug report and PM the ticket number?
     
  4. bdovaz

    bdovaz

    Joined:
    Dec 10, 2011
    Posts:
    673
  5. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    161
  6. bdovaz

    bdovaz

    Joined:
    Dec 10, 2011
    Posts:
    673
    Ok, thanks.