I get an access violation error when using the FObjectFinder in the constructor of one class. Have you got any idea what the reason for that might be?
The line is
auto psAsset = ConstructorHelpers::FObjectFinder<UParticleSystem>(TEXT("ParticleSystem'/Game/ParticleSystems/PS_CompoundCloud_SingleCelled.PS_CompoundCloud_SingleCelled'"));
sadly i don’t have a clue on what could cause it. the only thing i would suggest is double checking you call it in the classic C++ MyClass() constructor, rather than OnConstruction()
otherwise i would submit a separate question here in AnswerHub
I tried it in different constructors, in different classes. For some reason it only happens with particle systems. And I already posted a question two days ago and so far haven’t got any answers so I thougt I might look around.