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"

finding BP references to C++ enum's

is there a way to find all the instances of a c++ enum used in my blueprints? i'm asking as deleting or refactoring an enum could be dangerous if i don't know where its used. if i was to write an enum in blueprint i could use the reference viewer inside the editor to find all the instances of its use but c++ enums don't make an editor file to open the reference viewer on.

Product Version: UE 4.22
more ▼

asked May 15 '19 at 09:00 AM in C++ Programming

avatar image

199 9 12 28

avatar image Bariudol May 15 '19 at 02:20 PM

You can't since C++ created Enumerators do not generate a blueprint class (the BlueprintType identifier is only to reflect them and allow them to be used in blueprints). Reference viewer can only show you blueprint class based objects.

I'm not quite sure however how you would go about finding every place you have used the class, since whenever making an enumerator visible in blueprints its simply to get it as a return value or something like thant and not to create variables of it in blueprints.

I'm leaving this as a comment since I know it does not fully answer your question. Have a nice day.

avatar image Shadowriver May 15 '19 at 11:01 PM

I think you mean Enum asset, which indeed it would generate reference on blueprint. Enum themselves should be findable, but i dont know the way to search all blueprints

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

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