Search Issue Tracker
Fixed
Fixed in 2023.2.5f1, 2023.3.0a17
Votes
0
Found in
2023.2.0b16
2023.3.0a10
Issue ID
UUM-55555
Regression
No
[UI Builder] Add Binding menu option is missing from custom attributes which start with uppercase letters in the name
# Create a new project
# Add the following custom element
{code:java}
[UxmlElement]
public partial class MyElement : VisualElement
{
[UxmlAttribute, CreateProperty]
public string MyString
{ get; set; }
[UxmlAttribute, CreateProperty]
public GameObject MyPrefab { get; set; }
}
{code}
3. Add the element in UI Builder
4. Right-click the custom fields, and notice that there is no Add Binding option
If you add a binding via UXML is will also not show in the builder.
*If you change the attribute names to start with lowercase then it will work.*
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment