Fix Prefab builder test (#5377)
We were destructively moving the DOM template into the builder, leaving the Prefab system with an invalid DOM when teardown occurs. For now, this just copies the document to fix this specific test failure, but we may want to consider making `FindTemplateDom` return a const document and requiring that mutations get routed through the prefab system component to avoid similar situations in the future. Signed-off-by: nvsickle <nvsickle@amazon.com>monroegm-disable-blank-issue-2
parent
652e35b0ca
commit
16f5980983
Loading…
Reference in New Issue