How to use ConstructorHelpers::FObjectFinder and SpawnActor to spawn a blueprint

Hey this works for me in the editor but in packaged versions, it can’t find the Blueprint so the generated class is null