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"

Values not being assigned.

Hey Community,

I think I may have discovered abit of a bug that I haven't encountered in any of the previous iterations of the engine.

In my HUD class(.h) I have the following:

 int Selection = 1;

However, this value is never assigned. Even when being assigned in the constructor. For some reason it is only updated to it's proper value when I directly change it from the PlayerController.

I noticed the same problem with...

 FVector Blue = FVector(0.451, 0.904, 1.0); 

Oddly this reports back as 0.0, 0.0, 0.0 -- which is clearly not the case.

Product Version: UE 4.11
more ▼

asked May 17 '16 at 02:37 PM in Bug Reports

avatar image

Mark James G
534 44 25 51

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

1 answer: sort voted first

Hey Master Kyp-

For the int Selection variable, The editor cannot recognize a regular int, instead you'll want to use either int32 or uint16. In the case of the FVector, this is something that has been seen and reported before, UE-26273 . If you are seeing the value not set after a hot reload you should be able to simply close and reopen the editor for the changes to appear.


Doug Wilson

more ▼

answered May 17 '16 at 05:10 PM

(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