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 [Link Removed]
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 existing Questions & Answers thread and let us know what's up.

12
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.15
CreatedFeb 21, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue