[C++] SpawnActor Bug

I had this problem too in my project, if I remember correctly it was something like that:

  1. Add a component to BP based on some native class
  2. Then add same component from the c++ code with the same name, to make a “collision names”
  3. Try load map few times with this BP actor and observe the issue

The engine couldn’t to clean this actor component, but when I removed component added in BP, everything was working correctly.