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"

UE 4.10.4 Editor crashing on start - crash log and possible reason

After adding in a function in Xcode and clicking Compile in UE Editor, I get a crash. Upon restarting the Editor, it keeps crashing. Each time, I delete the Build, Binaries and Intermediate directories in the project to get the UE Editor to rebuild the dylib (else it will straight away crash upon starting).

After rebuilding the dylib, it still crashes.

I've narrowed it down to my trying to spawn a custom Actor class in the GameMode constructor. I accidentally placed the call to spawn the custom Actor in the constructor instead of the BeginPlay() method.

Nevertheless, this should not cause the UE Editor to get into an endless crash loop unless the Build, Binaries and Intermediate directories are deleted.

So I'm submitting the crash log:

Log.txt

Product Version: UE 4.10
Tags:
log.txt (64.4 kB)
more ▼

asked Mar 01 '16 at 03:08 PM in Bug Reports

avatar image

FuriousLight
1 1 1

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

1 answer: sort voted first

Hi FuriousLight,

I have used your crash log in addition to the steps you have provided to reproduce the crash in order to enter the following bug report: JIRA [UE-27676]. When this issue has been addressed, we will notify you with an update to this post.

Thanks for calling this to our attention,

Steve H.

more ▼

answered Mar 01 '16 at 08:29 PM

avatar image Steve Hardister ♦♦ STAFF Mar 01 '16 at 08:49 PM

Just to confirm, are you using this syntax to spawn your actor?

 UWorld* World = GetWorld();
 ActorToSpawn* NewActor = World->SpawnActor<ActorToSpawn>();

If this is the case, then "World" does not exist when the editor launches. Moving to BeginPlay as you suggested will prevent the crash, however, it is also a good idea to test that World exists any time it is used.

avatar image FuriousLight Mar 02 '16 at 03:19 AM

Hi Steve,

Thanks for your help and explanation. Yes I'm using a similar syntax and will check if GetWorld() exists.

I do feel that code shouldn't be crashing the editor though :)

(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