After pressed C there's a crash error show up

I’m following this tutorial C++ Battery Collector: Collecting Pickups | 10 | v4.9 Tutorial Series | Unreal Engine - YouTube and i’ve done everything correctly.But after i pressed C there’s a crash report show up i don’t know what is the problem there.Did UE change some code ?
Please help me to check

Hey paeillicit-

According to the crash report, it appears to be crashing in the APickup::SetActive function (specifically at line 42). Since the crash is an access violation, it is likely that a pointer being referenced has not properly been set or has been reset to null. Can you post the code for this function to help give a better idea of what is causing the problem.

i deleted myproject and follow the tutorial again.Now it’s work fine thank you

  • STAFF