Begin Play events launch in different order in a packaged project

Hello,

Today I moved my project to 4.8 and everything works fine in the editor so far. Strange thing happens in a packaged project (I tested Development and Shipping versions, both 64-bit) - Begin Play events in my Level BP and player character started to launch in different order. In the editor character always begins first, then Level BP starts. In the packaged project it launches the other way around.

I tested the same project in 4.7 again and there everything works fine, both in the editor and after packaging.

Hello ,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints that may have been involved?

Hello Rudy,

I’ve just tried this on clean TPP templates in both 4.8.0 and 4.7.6 and reproduced the issue quite easily. I just added Event Begin Play in Level BP and character BP and connected it with Print. At the beginning of the game strings appear in order BPs are launched (with recently launched always on top). Below I attach projects and builds (development ones, for strings to be visible on screen), but I will delete the files from Dropbox when we are done with them, so I also add a few screenshots to show a difference.

Project and Dev Build (64-bit) in 4.7.6:

https://dl.dropboxusercontent.com/u/32968434/UE4_AnswerHub/UE4%20-%20BeginPlay%20Test%204.7.6.zip

Project and Dev Build (64-bit) in 4.8.0:

https://dl.dropboxusercontent.com/u/32968434/UE4_AnswerHub/UE4%20-%20BeginPlay%20Test.zip

[4.7.6] Editor

[4.7.6] Build

[4.8.0] Editor

[4.8.0] Build

Hello ,

I was able to reproduce this issue on our end. I have written up a report (UE-17473) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your information and time.

Make it a great day

Hello,

Any new info on that? I don’t see this bug’s number in 4.9 preview. I currently finish my work on a save/load system which works perfectly fine in the editor and doesn’t work in a packaged project due to this issue. I plan to submit my work to Marketplace, that’s why it’s so important to me.

Rudy, this is still occurring even in UE4.21, in my case a pre-existing actor blueprint in my level is firing it’s Begin Play ahead of my GameModeBP Begin Play on Windows, but on iOS GameModeBP’s Begin Play comes first, this breaks one of my Bind Events so that it never gets fired correctly, as it hasn’t been bound when I have called the dispatcher in my GameMode’s Begin Play. Is there another way to Bind dispatcher events without using Begin Play? Possibly something earlier?