Collection duplicate does not update tree references
ricardojmendez opened this issue · comments
Suppose you have the following collection:
Col-A
- Col-A.Tree 1
- Col-A.Tree 2
- Col-A.Tree 3 (references Col-A.Tree 1 as a subtree)
If you duplicate it into Col-B, you'll end up with
Col-B
- Col-B.Tree 1
- Col-B.Tree 2
- Col-B.Tree 3 (references Col-A.Tree 1 as a subtree)
That is, if any of those trees contained a reference to another one, the reference will not point to the duplicated tree in Col-B, but to the one in Col-A.
Incidentally, the Behave compiler is beachballing Unity when attempting to compile a library with a duplicated collection, which might be related to this issue.
The beachballing is very likely related to this, yea. Behave does not currently support cyclic references.
I'll look into the issue. Thanks for reporting it.
Actually, I just noticed that I bollocksed up the markup - those were meant to be bullet points There are not circular references. It's not that T1 references T2 which references T3 which then references T1.
Fixed in an upcoming release.