We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b970c84 commit 544f418Copy full SHA for 544f418
release-content/migration-guides/duplicate_subasset_label_error.md
@@ -0,0 +1,9 @@
1
+---
2
+title: Adding duplicate subassets names now returns an error.
3
+pull_requests: [19485]
4
5
+
6
+Previously, when adding a subasset in a loader through `LoadContext::add_labeled_asset` (and
7
+friends), adding the same subasset name multiple times would silently replace the asset (and which
8
+one would be used was undefined). Now these functions return an error if the subasset label was
9
+already present. You can use `?` to return the error from `AssetLoader`s.
0 commit comments