UUM-160258
Fixed in 7000.0.0a21Mentioned in 2 release notes.
First fixed in 7000.0.0a21 (Nov 24, 2026); relisted in 1 later release.
| Version | Section | Risk | Impact | Note |
|---|---|---|---|---|
| 7000.0.0a21 | Fixes UI Toolkit | Fix | Fixed VisualElement.GetOrAddComponent throwing a NullReferenceException or an InvalidCastException for a component that has a [GenerateVisualContent] method and no [OnComponentAdded] method. | |
| 7000.0.0a21 | Fixes UI Toolkit | Fix | Fixed VisualElement.GetOrAddComponent throwing a NullReferenceException or an InvalidCastException for a component that has a [GenerateVisualContent] method and no [OnComponentAdded] method. |