I’m doing the last part of the course in UE5, I know I could have problems and this is one of them. My ImpactEffect doesn’t show, I Know that my chanel is working because the debug point works, All the code is the same as in the lecture of the lesson but I don’t know what to do. Anyone here has a similar error?
Image of my code:
Your code looks fine. Maybe something else is at fault. Zip up your game project file, upload it on any cloud storage platform (Google Drive), and share it with us. I am not a professional, but I will try my best.
And please use File > Zip Project within Unreal so unneeded files are excluded.
I am assuming that if the owner is not set, then the debug point should not work because he wrote this line in his code: - if (OwnerPawn == nullptr) return;
Make sure to disable live coding and compile your code using SimpleShooterEditor Win64 Development Build. If you use live coding, then the impact particle will most likely disappear from BP_Gun every time.
Replace GetWorld() with this. The first parameter is asking for const UObject* WorldContextObject rather than Const UWorld* InWorld.
And also, after compiling your code, go to BP_Gun and make sure the impact particle is still assigned or not.
These steps will resolve your issue.
Good luck on your next adventure.
I use that parameters because I remember using the same function in the toon tank section, but it doesn’t work either. You can see in the code i share earlier that I’m not using “this”