UE4 crashing when fire projectile

Hi @ben or anyone out there :slight_smile: , I got as far as setting everything up in this lecture yet when I fire, the whole editor crashes. I protected all my pointers so Im wondering what this is about? Also, if i set bAutoActivate = false, it wont even compile and it just crashes. Any ideas?? :slight_smile:

Do you have your project hosted anywhere so I can take a look at it?

UPDATE: I fixed the problem, ProjectileMovement was initialized TO NULLPTR but never set in the constructor. REMEMBER TO PROTECT ALL YOUR POINTERS EVERYONE HAHAAAAAAAAAAAAA @DanM Now my only problem is the tank spins all the way around if I look straight forward.

1 Like

What do you mean?

If you mean the barrel is spinning the wrong way, we fix that later in the section :slight_smile:

Privacy & Terms