Hello, I have a class of a blueprint which is a platform with collision boxes and i want when the player overlap with the collider to spawn a next platform of the same blueprint.
.h
UPROPERTY(VisibleDefaultsOnly, Category = PlatformBluePrint)
TSubclassOf<class ABPPlatform> BPPlatform;
.cpp
static ConstructorHelpers::FObjectFinder<UBlueprint> myPlatform(TEXT("Blueprint'/Game/Blueprints/BPPlatform.BPPlatform'"));
if (myPlatform.Object) {
BPPlatform = (UClass*)myPlatform.Object->GeneratedClass;
}
I get successful build but i get an error:
[2014.11.26-16.36.39:496][ 0]UdpMessaging: Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
libc++abi.dylib: __cxa_guard_acquire detected deadlock
The error is causing i am trying to spawn self? should i create another class?
any suggestions for the error?
thank you for your time