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"

Find references of Function defaults to "in current BP only"

When a function is used from a macro (e.g. in player controller), find references will not mark that function as used.

  • Create an actor (e.g. Unit) with a function (e.g. GetMovesCount)

  • implement the function to return a value

  • use that actor (Unit) in a custom player controller

  • in the custom player controller, make a macro (e.g. PrepareMoves)

  • call on the Unit's function -> GetMovesCount

  • back in the Unit, right click the function "find references"


Expected: 1 reference, in the player's controller's macro

Actual: no reference found

Find Reference does not show it because it automatically ticks the "Find In Current Blueprint Only" which makes no sense from a UX perspective. The user is trying to find references of a pubicly accessible function - Why show the private accessors only?


This is big issue because deleting the function, saving and compile will prevent Undo from recovering the function (if not crashing the IDE, oh hello).


alt text

alt text

Product Version: UE 4.9
Tags:
b1.png (42.7 kB)
b2.png (6.6 kB)
more ▼

asked Sep 08 '15 at 12:40 AM in Using UE4

avatar image

keyle
1.8k 65 27 89

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

1 answer: sort voted first

You need to untick the Find in Current Blueprint Only box.

alt text

more ▼

answered Sep 08 '15 at 06:09 AM

avatar image

erinacea
1.8k 69 28 113

avatar image keyle Sep 08 '15 at 06:28 AM

Ok WHY would "right click, Find references" always TICK that box?!

avatar image keyle Sep 08 '15 at 06:28 AM

That makes NO sense at all. The user is trying to find references! This is a public accessor.

avatar image keyle Sep 08 '15 at 06:29 AM

I will rephrase my bug report, thanks Erin.

(comments are locked)
10|2000 characters needed characters left
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