x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

C++ blueprint spawn self deadlock error

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

Product Version: Not Selected
Tags:
more ▼

asked Nov 26 '14 at 04:42 PM in C++ Programming

avatar image

Haris
53 10 10 166

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Apparently you cannot referencing the same blueprint, Or if you can happens with a different way.

My intention was to have few platforms and when the player goes on it then triggers the next platform which is the same platform.

more ▼

answered Nov 29 '14 at 01:08 PM

avatar image

Haris
53 10 10 166

avatar image lluo Feb 15 '16 at 03:38 AM

What exactly does this answer mean?? How the issue was resolved? I have the same issue, and by reading your answer, I still haven't got a clue. Would be great if you could elaborate more. Thanks!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question