Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.0.0
Issue ID
1290224
Regression
Yes
[UDP] NullReferenceException thrown on Unlinking project in the Service Settings window when UDP Client is generated earlier
When UDP Client is generated and Unlink Project from Service Settings window causes the editor to throw NullReferenceException, Refer attached video.
Steps to repro:
1. Create a new project.
2. Window > Package Manager > Unity Distribution Portal > Install
3. Edit > Project Settings > Service > Select organization
4. Unity Distribution Portal > Generate new UDP Client
5. Services > Unlink project
Actual Result:
NullReferenceException is thrown on Unliking the project from Services Settings window when UDP Client is already generated
Expected Result:
Project is Unlinked gracefully
Reproducible in:
2021.1.0a4, 2021.1.0a1, 2020.2.0b11 with package version 2.0.0
Working fine in:
2020.2.0b11, 2020.1.12f1 with package version 1.3.0, 1.2.0
Environment:
Windows10 and macOS 10.15
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UDP.Editor.AppStoreProjectSettingsEditor.SetUpCannotGetProjectIdWindow () (at library/packagecache/com.unity.purchasing.udp@2.0.0/editor/appstoreprojectsettingseditor.cs:362)
UnityEngine.UDP.Editor.AppStoreProjectSettingsEditor.InitializeProperties () (at library/packagecache/com.unity.purchasing.udp@2.0.0/editor/appstoreprojectsettingseditor.cs:761)
UnityEngine.UDP.Editor.AppStoreProjectSettingsEditor.CheckUserState () (at library/packagecache/com.unity.purchasing.udp@2.0.0/editor/appstoreprojectsettingseditor.cs:430)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <bd5493fc3cac4e0ca13e04a4b569b9a7>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment