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"

Unreal Editor crashes on startup after C++ addition

This is very likely related to my last problem.

These are the steps I took:

  1. Starting with a template project (the 1st-person shooter one)

  2. Added a C++ class

  3. Added code to the C++ class

  4. Included a custom static library (a Kinect listener), and the Kinect SDK static libraries

  5. Compiled the project successfully on Debug Editor and Development Editor

  6. Opened the Editor

After opening the Editor with the compiled project, it crashed while in the background twice. Now, every time I open the Editor, it crashes on startup. Here is my callstack:


 Access violation - code c0000005 (first/second chance not available)
 
 msvcr120 + 248677 bytes
 UE4Editor_Core + 756186 bytes
 UE4Editor_Core + 2179836 bytes
 UE4Editor_Core + 2031192 bytes
 UE4Editor_Core + 2031987 bytes
 UE4Editor_Core + 3149627 bytes
 UE4Editor_Core + 3136489 bytes
 UE4Editor_Core + 593636 bytes
 UE4Editor_Core + 594187 bytes
 UE4Editor_Core + 2096833 bytes
 UE4Editor_Core + 2096328 bytes
 UE4Editor_Core + 1978609 bytes
 UE4Editor_Core + 2187617 bytes
 UE4Editor_Projects + 84445 bytes
 UE4Editor_Projects + 82554 bytes
 UE4Editor!FEngineLoop::LoadStartupModules() + 92 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launchengineloop.cpp:1754]
 UE4Editor!FEngineLoop::PreInit() + 9213 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launchengineloop.cpp:1310]
 UE4Editor!GuardedMain() + 236 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launch.cpp:112]
 UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
 UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
 UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Why is this happening? What can I do to fix it?

Update: I can confirm this only happens on this one project.

Product Version: Not Selected
Tags:
more ▼

asked Feb 10 '15 at 05:06 PM in C++ Programming

avatar image

MoscowModder
16 2 3 7

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

1 answer: sort voted first

I eventually found out that the crash was due to the project trying to instantiate my class, and failing, during the editor startup.

more ▼

answered Feb 21 '15 at 04:55 PM

avatar image

MoscowModder
16 2 3 7

(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