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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

UE4 keeps crashing on startup

Having error after I put this on MyPawn class: OurVisibleComponent->SetupAttachment(RootComponent); Then my terminal error message: [2017.03.16-14.32.54:661][ 0]LogLinux:Error: appError called: Assertion failed: Assertion failed: [File:/home/tiny/Documents/UnrealEngine-release/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp] [Line: 3714] Default subobject CameraComponent RootComponent already exists for MyPawn /Script/Infiltrate1.Default__MyPawn.

Signal 11 caught. Malloc Size=131076 LargeMemoryPoolOffset=131092

Product Version: UE 4.15
Tags:
more ▼

asked Mar 16 '17 at 02:47 PM in C++ Programming

avatar image

ImDan
1 3 4

avatar image Doug E ♦♦ STAFF Mar 16 '17 at 08:06 PM

Hey ImDan-

Where in your code are you adding this line? If you comment out that line, are you able to open the project? If possible, please provide the full class where you're adding this code.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hey ImDan-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers

Doug Wilson

more ▼

answered Mar 27 '17 at 12:51 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You're trying to add a specific component that is already added. You should probably place a guard around that call to make sure you aren't trying to add the component if it's already setup.

 if ( FindComponentByClass<UCameraComponent>() == nullptr )
 {
     // Camera Component wasn't found, set it up.
 }
more ▼

answered Mar 16 '17 at 02:55 PM

avatar image

ExtraLifeMatt
1.6k 34 14 48

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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