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"

[Bug?] BeginPlay fired again on PIE component changes

From some reason it seems BeginPlay is called again when I'm changing a public variable on an component, on an actor, while using Play In Editor.

Is there anyway to disable it?

p.s. The reason I want to disable it is because my BeginPlay spawns a new actor; when making a change in PIE, and the BeginPlay is called, all SpawnActor are failing (log says it's because a constructor is called, but putting a breakpoint in constructor doesn't seem to show that)

Edit

fter looking a bit, the behavior seems to differ a bit whether the property is a structure or not. If it's a structure, after a change, the property becomes disabled (and editor sometimes crash). If not (and the variable is a vector or a float), I can still edit it, and the errors will show up in the output log when done.

Not sure if it matters/helps.

Product Version: UE 4.17
Tags:
more ▼

asked Oct 07 '17 at 08:38 AM in Blueprint Scripting

avatar image

matan19
213 4 13 44

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

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