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"

Closing UE4 Editor via code

Hey guys,

i need to close the Unreal Editor via C++ code. ExitProcess,Exit and TerminateProcess functions are not working.

any suggestion?

Thanks!

Product Version: UE 4.14
Tags:
more ▼

asked Jan 18 '17 at 04:45 PM in C++ Programming

avatar image

iSpakkio
200 9 10 18

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

2 answers: sort voted first

Hi,

Try using FPlatformMisc::RequestExit(0); and see if that works for you.

Cheers,

more ▼

answered Jan 18 '17 at 05:03 PM

avatar image

project.gheist
1.6k 22 10 49

avatar image iSpakkio Jan 18 '17 at 06:05 PM

Working Flawlessy!! Thank you a lot

(comments are locked)
10|2000 characters needed characters left
 IMainFrameModule::Get().RequestCloseEditor();

this line should work as the same as the close button on the upper left corner of the editor window.

more ▼

answered Jan 12 '19 at 07:10 AM

avatar image

ONEPIECE_ZYX
36 3 5

(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