Closed saim80 closed 1 month ago
Hi Sangwoo,
Thanks for reaching out to let me know about this. I had no idea there was an incompatibility here, but I'll get it patched with the next update. Thanks again!
Best, Zach (Unraed)
On Tue, May 7, 2024 at 6:00 PM Sangwoo Im @.***> wrote:
How to Reproduce
- Build dialogue display widget with CommonUI components such as CommonTextBlock.
- Set project settings to use the new dialogue display widget.
- Quit and relaunch the Unreal Editor.
- Observe crash due to Class loading failure.
Due to the fact that UDialogueSettings uses TSubclassOf<...> for both dialogue controller and dialogue widget type variables, the mentioned classes are being directly loaded although CommonUI module is not loaded yet. Possible Solution
I fixed the issue by replacing TSubclassOf<...> to TSoftClassPtr<...> for my local copy.
— Reply to this email directly, view it on GitHub https://github.com/unraed/DialogueTree/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCMTEOFXKAU42EADN27ARWDZBFFG7AVCNFSM6AAAAABHLZWIR2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DIMRZHAZDSNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I confirmed the fix. Thanks for the update!
How to Reproduce
Due to the fact that UDialogueSettings uses TSubclassOf<...> for both dialogue controller and dialogue widget type variables, the mentioned classes are being directly loaded although CommonUI module is not loaded yet.
Possible Solution
I fixed the issue by replacing TSubclassOf<...> to TSoftClassPtr<...> for my local copy.