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"

UE4 Needs A Restart to Compile Code

I am fairly new to UE4, however, when I make changes to these two simple Actor component, I have to restart the editor and visual studio in order for the changes to take affect.

These Actor Componenets are supposed to:

1)Return the actors coordiantes (X= Y= Z=)

2)Rotate the door 90 Degrees

Here is the code for both components: https://imgur.com/a/gm4Up

However after I hit play the door doesn't rotate, and the position report shows an older version of that component.

Position Report logs this to console : https://imgur.com/XlJ8juS

Which is a version of that component before I added GetLocation() before .toString()

What I have tried:

-Saving fiels in VS then compiling using the button on the UE4 toolbar

-Building the solution in VS then pressing play withing UE4

What Works: 

-Restarting both VS and UE4, then changes properly take affect.

I don't think I need to restart every time I make changes to my code.

Also when I restart UE4 I get his error: https://imgur.com/rdii203

EDIT: Thanks To Anyone Taking the Time to Help me Out I've got Ryzen 1700 CPU and Win 10, and Rx 480 4gb if that is needed.

Product Version: UE 4.18
more ▼

asked Dec 28 '17 at 07:20 PM in Using UE4

avatar image

1 1

(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