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"

Crash on Selecting Custom GameMode

I have created a custom game mode in C++ and trying to select it for the world when my editor crashed.

The level is almost entirely the Third Person Template with some (very) small additions (playing with Matinee and a running AI bot) and no custom C++ currently running.

Repro steps:

  1. add new C++ code

  2. GameMode as base class

  3. rebuild and then go to world settings

  4. click the Game Mode drop down

The CustomMode.h code is:

 #pragma once
 
 #include "GameFramework/GameMode.h"
 #include "CustomMode.generated.h"
 
 /**
  * 
  */
 UCLASS()
 class MATINEEBUILDERTEST_API ACustomMode : public AGameMode
 {
     GENERATED_BODY()
     
 };
 

The CustomMode.cpp code is:

     #include "MatineeBuilderTest.h"
     #include "CustomMode.h"

The error is: " Unhandled exception at 0x000007FEE2DC3D30 (UE4Editor-Slate.dll) in UE4Editor.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x00000000002238D0). "

The stack trace is:

alt text

EDIT: After removing the class, regenerating solution files, rebuilding the solution, running the editor and attempting to select the game mode I have the same issue again... I am about to go try this in a fresh project.

EDIT2: Works fine, however the new project was a C++ base and the old one was a BP base. The BP project also had an issue in that C++ classes would not show up in the content browser... I will be migrating all written code to that before I go too far

Product Version: UE 4.8
Tags:
slatecrash.png (96.2 kB)
more ▼

asked Jun 25 '15 at 12:35 AM in Bug Reports

avatar image

vikhik
227 12 17 28

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

1 answer: sort voted first

Hey vikhik-

I followed your steps and created a GameMode class and did not crash when selecting it in the world settings. Seeing as you did not crash either when testing in a new project it is likely that the problem is specific to the single project. If possible could you send me the callstack and log files from the crash as well as the project where the crash is occurring? Since you are planning to migrate the work from the first project into the working project I feel this can be marked as resolved however I would still like to investigate the crash itself if possible. If you run into this crash again feel free to add a comment to reopen this post.

Cheers

Doug Wilson

more ▼

answered Jun 25 '15 at 02:53 PM

avatar image Doug E ♦♦ STAFF Jun 25 '15 at 05:16 PM

Hey vikhik-

It has been brought to me that others are likely having the same issue. Could you post the log files from the project that is crashing in order to confirm that the crash you're getting is the same.

avatar image vikhik Jun 30 '15 at 06:43 AM

I'm sorry @Doug Wilson , I would but that project is lost in the recesses of source control currently. If I have time I will do so asap but I don't see that likely as the PM is pushing for some visible results in another area.

All I can offer is that it had to do with the BPness of the project. See Edit 2.

(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