HoudiniEngineForUnreal icon indicating copy to clipboard operation
HoudiniEngineForUnreal copied to clipboard

Store WorkItemID by a local variable

Open WJsjtu opened this issue 1 year ago • 0 comments

https://github.com/sideeffects/HoudiniEngineForUnreal/blob/24a7e9ee059800826b1dcec41b369494f231db72/Source/HoudiniEngine/Private/HoudiniPDGManager.cpp#L1649-L1660

WorkItemID should be stored as a local variable before line 1656, since reading a value of referenced structure that has already been destructed (line 1657) can be dangerous. When debugging editor or game with strict address case (e.g. enable unreal build with ASan), it always crashes.

WJsjtu avatar Jun 10 '24 06:06 WJsjtu