Search Issue Tracker
Active
Votes
0
Found in
2022.3.59f1
6000.0.41f1
6000.1.0b9
Issue ID
UUM-99404
Regression
No
Errors thrown in the Console when configuring In-App Purchases package
*Steps to reproduce:*
1. Create new Unity project
2. Go to PM window and install In App Purchasing
3. Once package is installed, press "Configure" in PM window
4. In Project Settings > In-App Purchases enable In-App Purchases
5. In Project settings > In-App Purchases press “Obfuscate License Keys”
6. Remove In-App Purchasing package in PM
*Actual results:* Errors are thrown in the Console window
{code:java}
ArgumentNullException: Value cannot be null.
Parameter name: styleSheet
UnityEngine.UIElements.VisualElementStyleSheetSet.Add (UnityEngine.UIElements.StyleSheet styleSheet) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementStyleSheetSet.cs:28)
Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.AddStyleSheetsToParentElement (UnityEngine.UIElements.VisualElement parentElement) (at ./Library/PackageCache/com.unity.services.core@9e81a5e38245/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs:343)
Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.RefreshUI () (at ./Library/PackageCache/com.unity.services.core@9e81a5e38245/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs:330)
Unity.Services.Core.Editor.EditorGameServiceSettingsProvider.ActivateSettingsProvider (System.String searchContext, UnityEngine.UIElements.VisualElement rootElement) (at ./Library/PackageCache/com.unity.services.core@9e81a5e38245/Editor/Core/EditorGameService/EditorGameServiceSettingsProvider.cs:81)
UnityEditor.SettingsProvider.OnActivate (System.String searchContext, UnityEngine.UIElements.VisualElement rootElement) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsProvider.cs:76)
UnityEditor.Purchasing.PurchasingSettingsProvider.OnActivate (System.String searchContext, UnityEngine.UIElements.VisualElement rootElement) (at ./Library/PackageCache/com.unity.purchasing@649c6c7b3b1b/Editor/ServiceProjectSettings/PurchasingSettingsProvider.cs:94)
UnityEditor.SettingsWindow.ProviderChanged (UnityEditor.SettingsProvider lastSelectedProvider, UnityEditor.SettingsProvider newlySelectedProvider) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:282)
UnityEditor.SettingsTreeView.SelectionChanged (System.Collections.Generic.IList`1[T] selectedIds) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsTreeView.cs:66)
UnityEditor.SettingsTreeView.FocusSelection (System.Int32 selectedId) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsTreeView.cs:46)
UnityEditor.SettingsWindow.SelectProviderByName (System.String name, System.Boolean ignoreLastSelected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:111)
UnityEditor.SettingsWindow.RestoreSelection () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:244)
UnityEditor.SettingsWindow.OnSettingsProviderChanged () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:235)
UnityEditor.SettingsService.NotifySettingsProviderChanged () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsService.cs:28)
UnityEngine.InputSystem.Editor.InputSettingsProvider.ForceReload () (at ./Library/PackageCache/com.unity.inputsystem@e2c83221d2dc/InputSystem/Editor/Settings/InputSettingsProvider.cs:468)
UnityEngine.InputSystem.InputSystem.OnProjectChange () (at ./Library/PackageCache/com.unity.inputsystem@e2c83221d2dc/InputSystem/InputSystem.cs:3719)
UnityEngine.InputSystem.LowLevel.NativeInputRuntime.OnProjectChanged () (at ./Library/PackageCache/com.unity.inputsystem@e2c83221d2dc/InputSystem/NativeInputRuntime.cs:361)
UnityEditor.EditorApplication.Internal_CallProjectHasChanged () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:450)
{code}
{code:java}
Assets/Scripts/UnityPurchasing/generated/GooglePlayTangle.cs(15,20): error CS0103: The name 'Obfuscator' does not exist in the current context
{code}
*Expected results:* No errors in the Console once the package is removed
*Reproducible with versions:* 4.12.2 (2022.3.59f1, 6000.0.41f1, 6000.1.0b9)
*Not reproducible with versions:* 4.12.2 (6000.2.0b6)
*Can’t test with versions:* 4.12.2 (2021.3.49f1) (“Obfuscate License Keys” button is not available)
*Tested on (OS):* Apple M1 Max, Sequoia 15.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Add comment