Unreal Engine 5.2.0 - SunSky Blueprint Not Working in Standalone Game

Hello Epic Games Community,

I am experiencing a peculiar issue with Unreal Engine 5.2.0 involving the SunSky Blueprint from the Realistic Sun Position Plugin.

The SunSky Blueprint is functioning perfectly when I run my game in the Editor (PIE), but it doesn’t seem to work when I try playing it as a standalone game. Specifically, the light from the SunSky actor doesn’t appear, and no events from the SunSky Blueprint are firing.

I’ve tried debugging the issue and these are the steps I’ve taken so far:

  1. Checked if the plugin is enabled for standalone. It is.
  2. Confirmed that the Blueprint is included in the packaged game.
  3. Compiled shaders, but the issue persisted.
  4. Added print string nodes on Begin Play and Event Tick in the SunSky Blueprint to verify if it gets executed, but it did not fire. (Cast to SunSky is NOT failing.)
  5. Tried calling a custom event in the SunSky Blueprint after getting all actors of its class, but that didn’t work either.
  6. Confirmed the Blueprint is not set to “Editor Only”.
  7. Tested the same setup in a blank project where it worked correctly, which makes me believe this issue is project-specific.
  8. Verified my Unreal Engine installation, which did not solve the issue.

My game relies heavily on Blueprint scripts, uses World Partition (spatially loaded is disabled), and I haven’t written any custom C++ code. All other Blueprints and Actors in the game work as expected, it’s just the SunSky Blueprint that is causing this issue.

I am seeking help in troubleshooting this problem further. If anyone has encountered a similar issue or has suggestions for potential solutions, I would greatly appreciate it.

Thank you in advance for your assistance!

Best regards,
Nemwaz

Hello,
we have same problem. Did you perhaps ugrade the project from 5.1 as we did? This could be one of the cause, because it still works in a completely new project.

Enclosing a piece of log for the standalone game regarding the SunSky actor:

Error: FStructProperty::Serialize Loading: Property 'StructProperty /SunPosition/SunSky.SunSky_C:UpdateSun:CallFunc_GetSunPosition_SunPositionData'. Unknown structure.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  SunPositionData  no longer exists on node  Break <unknown struct> . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Elevation  no longer exists on node  Break <unknown struct> . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Corrected Elevation  no longer exists on node  Break <unknown struct> . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Azimuth  no longer exists on node  Break <unknown struct> . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] No Struct in  Break <unknown struct>

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  <Unnamed>  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  <Unnamed>  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Latitude  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Longitude  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  TimeZone  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  bIsDaylightSavingTime  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Year  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Month  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Day  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Hours  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Minutes  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  Seconds  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] In use pin  SunPositionData  no longer exists on node  GetSunPosition . Please refresh node or break links to remove pin.

Error: [AssetLog] C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Runtime\SunPosition\Content\SunSky.uasset: [Compiler] Could not find a function named "GetSunPosition" in 'SunSky'.

Sorry for the late reply. Yes I also upgraded from version 5.1. Haven’t found a solution yet for my project.

I recreated the whole blueprint and had the same issue. when i play in standalone it does not light the scene