Blueprintable custom c++ class makes UE crash

If your crash is still happening from those two lines in the Tick function, it’s probably because Tick is running while CooldownResource is still null. Try putting a nullptr check before you use it.

i.e.

if (!CooldownResource) {
    return;

}

If that stops the crash, you’ve at least found the problem. It could be because the CooldownResource object isn’t properly created, or because Tick is executing before you create the object.