Announcement

Collapse
No announcement yet.

Calling CreateDefaultSubobject crashes editor!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    LOL, for me, this was using an unitialized pointer like this:

    ```
    OverlapComp->CreateDefaultSubobject<UBoxComponent>(TEXT("OverlapComp"));
    ```

    When I really meant to create an object like this:

    ```
    OverlapComp = CreateDefaultSubobject<UBoxComponent>(TEXT("OverlapComp"));
    ```

    Comment

    Working...
    X