Description

While using an access specifier for a function that is set to private, does not run the function, but it can be placed into another BP with no warning appearing when the BP is compiled.

This issue may be similar to UE-4160
No regression has been performed for this issue

Steps to Reproduce
  1. Create a new project (No starter content needed, No Template)
  2. Create a new actor class blueprint > Name 'Private_BP' > Open Private_BP
  3. Create a new Function > Name 'Private_Test' > Set Access Specifies to Private
  4. Set an out put to an Integer > Set Integer value to 5 (Screenshot_01)
  5. Create a new actor class Blueprint > Name 'New_BP' > Open New_BP
  6. Create a new variable, make its type Private_BP > Create a get reference for the variable
  7. Pull off the reference and get the function Private_Test then add a print string
  8. Have the integer output of Private_Test connect to the print string (Screenshot_02)
  9. Compile the Blueprint
    Results: The Blueprint Compiles with no issue, even though playing in editor wont pass the value
    Expected: The function should flag a warning that the value will not pass through

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

10
Login to Vote

Unresolved
ComponentGameplay - Blueprint
Affects Versions4.15
CreatedFeb 21, 2017
UpdatedMar 8, 2018