You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When deleting a tag, in Layers and Tag setting, and some actor has that tag, the actor properties panel still have that tag existing.
Steps to reproduce:
Add a tag via Properties panel of some actor and do not add that tag to the actor
Add another tag but it will be the child of the previous tag and add that tag to the actor
Delete the parent tag via Layers and Tag Setting
Reload project (since deleting a tag in the Settings will not change in real time)
Go to the Actor that was added the tag and see that it is glitched
Layers and Tag setting would not have the parent tag but the child would still exists resulting in a glitched scenario
Upon deleting the either the parent/child/both tag will remove the glitch.
but while either or both tags is has not been deselected on an Actor, it will result in Actor Properties panel to still show that deleted parent/child/both tag
Also, in my project there are custom JSON assets that has a Tag parameter.
it shows the same behavior as the Actor properties panel
Workaround
Deselect the desired Tag and Delete it from Tags and Layers setting
Expected
When deleting a parent tag/or some tag in Layers and Tag setting while some actor has the child tag, will result in that tag being removed in real time and will be reflected the project. (Ex. In Actors properties panel and JSON assets tag ref)
Proposed solution
When removing a tag in Layers and Tag setting it will (In real time without reloading project)
Remove that child/parent tag that some actors has reference to
or A prompt that warns the developer that there are some actors that has the child tag and the parent cannot be deleted
Flax version:
Master
The text was updated successfully, but these errors were encountered:
alcoranpaul
changed the title
Deleting a parent tag while some actor has the child tag
Deleting a tag while some assets (Actor/JSON assets) have reference that tag will not delete it in their editor property
May 3, 2024
The current design allows assets from game and plugin projects to provide tags without need to specify them in layers&tags asset. Maybe here we could scan content and remove tags from content when deleting them from the layers&tags asset.
Issue description:
When deleting a tag, in Layers and Tag setting, and some actor has that tag, the actor properties panel still have that tag existing.
Steps to reproduce:
Layers and Tag setting would not have the parent tag but the child would still exists resulting in a glitched scenario
Upon deleting the either the parent/child/both tag will remove the glitch.
Workaround
Deselect the desired Tag and Delete it from Tags and Layers setting
Expected
Proposed solution
When removing a tag in Layers and Tag setting it will (In real time without reloading project)
Flax version:
Master
The text was updated successfully, but these errors were encountered: