maybe you also need the position, rotation and spawnparameters? something like this?
GetWorld()->SpawnActor<AEditorNote>(m_noteToCreate,pos,rot,SpawnParams);
maybe you also need the position, rotation and spawnparameters? something like this?
GetWorld()->SpawnActor<AEditorNote>(m_noteToCreate,pos,rot,SpawnParams);