Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Bug Report] Game instance not cleaned correctly on RestartLevel or OpenLevel


I'd like to report a bug. The Game Instance is not correctly cleaned in this special case:

  1. Your game instance contains a reference to an actor in a streaming level.

  2. The streaming level in question is not visible, but is loaded.

  3. Restart level or Open another level.

I have created a project that contains these specific requirement for the crash that you can download here.

Reproduction steps:

  1. Start the game with PIE

  2. Move your character to the west-most trigger box next to you.

  3. Press "T"

Click here to see the video.

What the project actually does:

  1. StreamingLevel1: On beginplay, store a reference to a StaticActorMesh into the GameInstance.

  2. LevelStreamer: When you run on the west-most triggerbox, the StreamingLevel1 is set to not visible, but is still loaded.

  3. When you press "T", the command "RestartLevel" is executed.

When you look at the .log, you can clearly see that the engine crashes because of an external reference in StreamingLevel1 in the Game Instance, which leads me to think that the cleanup is faulty, since it works well when the streaming level is not visible and unloaded.

I would love to see this bug fixed. In the meantime, is there any ways (other than cleaning everything up manually) to clean the Game Instance before restarting the level?

Thank you, have a great day!

Product Version: UE 4.14
more ▼

asked Nov 29 '16 at 12:53 AM in Bug Reports

avatar image

75 9 12 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey CyanBalloon,

I was able to reproduce the crash, and have entered a bug report which you can track here:


Thanks for your report and your detailed repro.

Have a great day

more ▼

answered Nov 29 '16 at 07:43 PM

avatar image

Sean L ♦♦ STAFF
43.7k 485 152 440

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question