We must capture weak pointer instead of a raw pointer

Steps to Reproduce

Open an asset in the editor and do a new object on it to reinstanced it. The raw pointer will become invalid and will crash when we access it.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-173401 in the post.

Login to Vote

ComponentUE - Editor - Content Pipeline - Asset Build
Affects Versions5.1
Target Fix5.2
Fix Commit23603783
Main Commit23603783
CreatedJan 5, 2023
ResolvedJan 6, 2023
UpdatedMar 7, 2023