Why did the setting Image crash?

lingfeng.log (111.2 KB)


Gods, help

Hi!

I’m not 100% sure, but you can try adding check for object I being valid at the start of the function.

void UPickUpTipsUi::EnterOpen(FText N, UObject* I)
{
    if (I == nullptr)
    {
        // Maybe add log about object I not being valid.
        return;
    }
    // Other code.
}
1 Like

Thank you very much for helping me solve this problem. I always thought it must be worth it.
Finally, I checked again when I set it up to avoid an accident.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.