Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2019.4.4f1
2020.2
2021.1
2021.2
Issue ID
1316913
Regression
No
No registered factory method error is thrown when class that inherit and extend an UIElement is used
Reproduction steps:
1. Open the attached project ("unity_bug_report.zip")
2. Open demo window in Top menu bar->bug->demo
3. Open the Console window
Expected result: No errors thrown
Actual result: Error is thrown: Element 'bug.CustomElem' has no registered factory method.
Reproducible with: 2019.4.21f1, 2020.2.6f1, 2021.1.0b9, 2021.2.0a7
Could not test with: 2018.4.32f1 (multiple assembly errors, NUnit errors, UIElement features not available)
Comments (1)
-
tonytopper
Dec 14, 2022 22:52
Getting this issue in 2022.1.23 when extending BindableElement
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Not compatible Style Sheets can be selected in the TSS files under "Style Sheets"
- Errors are thrown for lists and arrays in build using IL2CPP when data class contains both #if UNITY_EDITOR fields and generic fields
- "There can only be one active Event System" Warning is logged when entering Play Mode in the BenchmarkScene of the 3D Universal sample Template
- Motion blur is forced and exaggerated through transparents when "Sort with Refractive" and Motion blur is enabled
- MaterialPropertyBlock of a SpriteRenderer is reset when it is updated through the color picker
Resolution Note (fix version 2021.2):
Fixed with 2021.2.0a12