I have done the steps described in the programming quick start tutorial. Now i want to add a particle system component to my FloatingActor as mentioned in the last step, but the project crashes wehenever i try to create an object of it:
Hello ,
i just found the problem, i didn’t call it in the construcotr, instead i called it inside BeginPlay(). In this case one must use the Function NewObject() or NewNamedObject().
It’s not the same issue btw, you are trying to assign a UParticleSystemComponent to a UParticleSystem, this is not a crash just bad code that does not compile. Try setting your property to UParticleSystemComponent