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"

Naming Conventions on Variables

I have noticed an annoying little thing that keeps happening when naming variables within blueprints. I use camel-case for my variables, and sometimes the wrong letters are capitalized when I name it.

Example PlayerHEalth (obviously the E is the wrong case). However, after I submit it and notice the error, I immediately try to rename the variable to PlayerHealth. Once updated, it just returns to PlayerHEalth and it is impossible to correct. Even if I DELETE the variable and start over again, it still remembers my mistake and changes it accordingly.

It's like UE4 is mocking me and every time I see it it's like getting kicked right in the apple bag. I know this isn't a major bug or anything, but it sure is annoying to see a clean list of camel-cased variables on the left and one that sticks out like YouCAntType. Anyone else caught this?

Product Version: Not Selected
more ▼

asked Jun 26 '14 at 02:27 PM in Bug Reports

avatar image

136 13 15 25

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

1 answer: sort voted first

It's an unfortunate side effect due to the way FNames work, as explained here: https://answers.unrealengine.com/questions/37398/bug-renaming-blueprint-with-same-name-but-differen.html

more ▼

answered Jun 26 '14 at 02:31 PM

avatar image

Jamie Dale STAFF
7.5k 177 67 305

avatar image GabrielDamato Jun 26 '14 at 02:37 PM

THats a sAd state of AffaIRs.

avatar image Jamie Dale STAFF Sep 23 '14 at 11:18 AM

We've made a change for 4.5 which will make FName case-preserving for the editor and UHT. This should address the FName case issues you've been seeing.

I've checked that you're able to rename asset, actor, and blueprint components in a way that changes only their case. I've also tested that you're able to have a variables in different UObject/UStruct types that vary only by case, and that the UHT will generate code that actually compiles.

(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