Search Issue Tracker

Fixed

Fixed in 2023.2.10f1, 2023.3.0b7

Votes

1

Found in

2023.3.0b6

Issue ID

UUM-62267

Regression

No

[Data Bindings] BindingUpdateTrigger.WhenDirty mode does not support multiple bindings

--

-

# Open attached project LocBindTest
# Open Scenes/SampleScene
# Press play
# Click in the gameview a few times to spawn some items.
# Change the game language using the gameview locale changer or via Windows/Asset Management/Localization Scene Tools
# Notice only 1 of the items are updated

 

Open the file InventoryService.cs

Add the following lines:
{code:java}
item.Config.Name.updateTrigger = BindingUpdateTrigger.EveryUpdate;
item.Config.Description.updateTrigger = BindingUpdateTrigger.EveryUpdate;{code}
Just before :
{code:java}
nameLabel.SetBinding("text", item.Config.Name);
descriptionLabel.SetBinding("text", item.Config.Description);{code}
Now run again, and notice all items are updated. 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.