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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[4.8 Promoted] Extra parameters on BP callable functions not detected after hot-reload

When adding new parameters to functions on components which are "BlueprintCallable", existing BPs reference this function will fail to compile until the node is manually removed and re-added.

Steps to reproduce:

  • Start new project

  • Place empty actor in the level

  • Save the level and add a BP to this actor

  • Do File | Add new c++ class

  • Create new "ActorComponent" class with whatever name

  • In either X-Code or Visual Studio add a new function "void TestFunction(float value)" + it's implementation in the cpp

  • Build

  • Go back to the editor and observe the hot reload

  • Click on actor in scene

  • Add newly created c++ component onto this actor

  • Edit the actor's BP

  • Add a call to the components test function

  • Observe that the call function node has the correct "value" pin present

  • Go back to XCode or Visual Studio

  • Change function and implementation to be "void TestFunction(float value, float value2)"

  • Build

  • Go back to editor and wait for hot reload

  • Notice after the hot reload that the call function node still only has one parameter pin (value)

  • Expect to see "value2" pin appear

  • Click compile on BP

  • Note the compile error about the missing pin

  • Pin still does not appear

  • Delete the call function node

  • Add it back

  • Note the "value2" pin is now present

Tommy.

Product Version: Not Selected
Tags:
more ▼

asked Apr 14 '15 at 12:11 PM in Bug Reports

avatar image

TommyBear
404 20 31 239

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

1 answer: sort voted first

Hey TommyBear-

I was able to reproduce the BP node's input pins not updating after a hot reload. This has been reported (UE-13981) for further investigation.

Cheers

Doug Wilson

more ▼

answered Apr 17 '15 at 04:12 PM

(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