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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Local variables in blueprints are evaluated wrong (under some circumstances)

What

The value of a local function variable in a blueprint is not evaluated correct (at least for this case)

Reproduce

I have made two identical variables (same type and value, one at actor scope, one local scope), but they evaluate to not equal (see attached image)

alt text

Product Version: UE 4.10
Tags:
more ▼

asked Dec 02 '15 at 07:37 PM in Bug Reports

avatar image

sh0day
183 6 4 12

avatar image Adam Davis STAFF Dec 02 '15 at 07:48 PM

Hi splitDEV,

  • Does this occur in a clean, blank project with no additional content or is this limited to one project?

  • Are the two variables within two different classes? If so, have you populated the variable from the other actor or is it registering a null value?

  • Have you tried running a print string on the individual variables to see what they are populated as?

avatar image sh0day Dec 02 '15 at 08:07 PM

Hi, thanks for the quick reply

  • The project is a blank project, just created for reporting this bug (Blueprint ThirdPerson), but it has happend in other projects too

  • The variables are in the same actor/class and setup exactly the same (they are both set via "Default Value", not from extern, see image)

  • It seems the local scoped variable is null, although it is set via "Default Value" to "SphereComponent"-class (see attached image, it prints false)

alt text

bug_1_append.png (15.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi splitDEV,

I was able to reproduce this and have entered a bug report, UE-24048, to be assessed by the development staff.

more ▼

answered Dec 02 '15 at 08:41 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