Search Issue Tracker
Fixed
Fixed in 6000.0.23f1, 7000.0.0a3
Votes
0
Found in
6000.0.20f1
7000.0.0a1
Issue ID
UUM-82308
Regression
No
ArgumentException is thrown when setting dataSource to the C# object that doesn't inherit from UnityEngine.Object in UI Builder
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/UITK/TestDocument.uxml“ file in the UI Builder window
3. Select the icon or label elements in the UI Builder Hierarchy
4. Observe the Console window
Expected result: No errors are thrown
Actual result: “ArgumentException: Object of type 'BindablePropertyRO`1[UnityEngine.Texture2D]' cannot be converted to type 'UnityEngine.Object'." errors are thrown
Reproducible with: 6000.0.20f1
Couldn't test with: 2021.3.44f1, 2022.3.47f1 (Could not resolve compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment