Unity Issue Tracker - UnityEngine.UIElements.UQueryExtensions.Q causes an ArgumentNullException when External Dependencies are resolved
Closed
UUM-48739
UnityEngine.UIElements.UQueryExtensions.Q causes an ArgumentNullException when External Dependencies are resolved
Unity: UI Toolkit Framework
Android
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
As Designed
6.0.X
The package was calling an extension method on a null value. The behavior is as designed for the UI toolkit part and the fix will land in the package separately from this issue.
Reproduction steps:
1. Open the attached project “ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Download Firebase Unity SDK from the official page (https://firebase.google.com/docs/unity/setup ) and import "FirebaseAnalytics" and "FirebaseCrashlytics"
4. Go to [Assets] -> [External Dependency Manager] -> [Android Resolver] in the toolbar and perform "Force Resolve"
5. After confirming that all the above steps are completed, close Unity, then reopen it.
6. Observe the Console window
Expected result: No errors
Actual result: Error 'ArgumentNullException: Value cannot be null“ is thrown