Compile error occurs in select node of blueprint

Here is the origin node, in some situation we set the value to 1.0

54982-01.png

When we compile and save the blueprint, there is no any error occur.

However, if we close the Unreal and reopen the blueprint file, it gets compile error. The message is shown below:

We also find the false node have been changed, and we can not type constant value as previous version.

54984-03.png

Regenerate a new select node and re connect , we found that the node type is float.

54985-04.png

The select node with compiled error has ref float type seems due to the return value connects to a ref integer type.

54987-06.png

Our suggestion is, if the reference type will not match after reopen Unreal 4, Unreal should trigger compile error at the first time. The error is usually detected until the blueprint has been submit.

Hi windkey,

Thank you for the report. I was able to reproduce this in 4.8.3, however it is now working properly in 4.9 Prevew 4.

Cheers,

TJ

Would you please tell me which commits in GitHub fix this problem??
Due to our project is using 4.8.3 and can not be changed to 4.9 so quickly, maybe I can fix the problem in our end.

I’m unsure of exactly what fixed the issue. There were several changes to the Select node that went into 4.9. Here are the Github commits for the ones I could find. However, it’s possible the issue could have been fixed by a change that wasn’t logged as a bug.

https://github.com/Crtriplett/UnrealEngine/commit/a4c64517c7443b5fa93669bfb7a86ac1022e7ec3

https://github.com/Crtriplett/UnrealEngine/commit/a9f6f789a8746ecbfc44dbc2b0e46d10f2aedcdf

https://github.com/Crtriplett/UnrealEngine/commit/a9f6f789a8746ecbfc44dbc2b0e46d10f2aedcdf

https://github.com/Crtriplett/UnrealEngine/commit/feed0c8e3ef2631882862c190e3b96a6d6944678

https://github.com/Crtriplett/UnrealEngine/commit/bd0800d561856149febe2cb82dc727fe598ee95c

https://github.com/Crtriplett/UnrealEngine/commit/a4c64517c7443b5fa93669bfb7a86ac1022e7ec3

Thank you!