Skip to content

Commit b80279e

Browse files
committed
Add a migration guide for this PR.
1 parent b970c84 commit b80279e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Adding duplicate subassets names now returns an error.
3+
pull_requests: []
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

Comments
 (0)