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"

How do you iterate on an Editor Module?

TL;DR

How do I structure an Editor module to allow a developer to see changes (i.e. Slate code) without restarting UE4 after every compile?

Edit: Also, if this just isn't possible, then that is equally good to know, so that I can move on and just deal with it :)


Longer Description of What I've Tried

  • Editor Plugin: This Unreal training: Extending the Editor With C++ ...suggested placing the extensions in a plugin. However, I learned shortly after that plugins are not compatible with Hot Reload, so I went on a search for a better way.

  • Editor Module: (Creating an Editor Module) This setup also does not show my changes unless I restart the editor.

I've re-configured the header/source layout and structure a few different ways (based on other built-in plugins), but none of them produce this workflow:

  1. Editor is running

  2. Make a change to some Slate widget code, menu builder, or property customization in VS2017

  3. Compile (Success!)

  4. Swap to the editor and see those changes

I've also tried using the Modules window to manually unload/load/recompile the module. It fires the shutdown/startup methods where I would expect, but the changes to the actual UI don't take effect without shutting down and re-opening the project. This seems wrong and a huge impediment to building a non-trivial extension (especially when you are unfamiliar with Slate layout details).

I'm hoping that it is something simple that I'm just overlooking. Thanks in advance!

Product Version: UE 4.20
Tags:
more ▼

asked Aug 02 '18 at 03:40 AM in C++ Programming

avatar image

epolicaro
1 1 2

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

0 answers: sort voted first
Be the first one to answer this question
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