[BUG Report] Function Return Value always false in GameInstance Standalone Game (blueprints)

Engine version 4.17.1 launcher.
Just spent 2 hours on this, frustrating…
So this is easily reproducible in a clean project.

The issue:
Function in any function inside a blueprints GameInstance that has a boolean return value that has nothing connecting to its pin will always return FALSE.

212231-capture.png

Funny enough this will ALWAYS return false no matter what.
Remember this is a function withing the GameInstance class in a STANDALONE game.
Editor window will work fine.
This will work as expected in other classes for example try this in PlayerController and it will work as expected.

However,strangely The following will return as expected:

Steps to reproduce:

  1. Create custom game instance and set it in project settings.
  2. Create a function that looks like image1, inside your GAMEINSTANCE.
  3. Make sure that function always returns TRUE
  4. Call that function from another actor or by using “Event Init”, any way you want.
  5. Print the boolean value returned by that function’s output to screen for debug.
  6. Run the game in STANDALONE.
  7. See it is always FALSE…

Same here… Please fix
(Unreal Engine 4.17.1 from source)

I can also reproduce this, but only in standalone game. It does not occur in PIE. This is a really strange bug…

This is the bug

If you reopen the project, you will see that the return node has the pin set to false.

Edit: Will be fixed in 4.17.2 according to the bug report.