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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
Resolution Note (fix version 2021.2):
Fixed with 2021.2.0a12