Packaged Game does not start when using FSimpleElementCollector

Hi there,

when using a static FSimpleElementCollector variable in a blueprint function library (of a c++ project) the packaged project does not launch, and doesn’t display any errors / log entries either.

Repro:

  1. Create 4.18 c++ project
  2. Create a c++ class with a static FSimpleElementCollector variable in it
  3. Package

Hi AMalhofer,

I tried to reproduce this by creating a new code project in 4.18, added a new Blueprint Function Library code class to the project, and added a static FSimpleElementCollector variable to the class. When I packaged the project and tried to launch it, the project launched successfully.

What template project did you use for your project? What settings are you using when you package? Would it be possible to see the code for your Blueprint Function Library class?

Hi ,

the template project was the “c++ → basic code”, using development settings for packaging. I have attached all content of the “source” folder.

cheers

Hi AMalhofer,

Thank you for the additional information. I was able to see what I was missing and was able to reproduce the issue that you described. I have entered UE-52502 to have this investigated further.