Can you try updating the device OS to at least 9.3.1 and let me know if the crash still occurs. If the crash does continue to occur, can you provide the setup you used to create the loading screen?
As a temporary workaround, you should be able to go into Project Settings->Platforms->iOS and type Metal into the search bar. If you then uncheck the box for “Support Forward Rendering with Metal” it should deactivate Metal and allow the packaged project to run without crashing.
There are a number of errors getting the code you provided to compile for me. If the sample project you’re using only has the GameInstance class added, could you provide that project for me to test directly? Also, can you provide your callstack from the crash for additional information?
GameInstance.h and GameInstance.cpp code is same as before comment
And My Build.cs
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class IOSTest : ModuleRules
{
public IOSTest(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "MoviePlayer" });
}
}
You are seeing this crash when the movie being to play correct? Can you explain how you’re calling the functions in your game instance? Also, what is the device you’re seeing the crash on? Can you check if the device has iOS8 and an A7 or better processor as these are required for the Support Forward Rendering with Metal option.
I copied the code from the page you linked into a new project, without further information, this was not causing any crash for me when I transferred levels. In order to test the actual issue itself, would it be possible for you to provide a copy of the project where movie player / Metal is causing the crash?
I apologize for the delayed response. After further attempts to reproduce your issue I have not had a crash occur. When attempting to upload your project were you uploading it directly to AnswerHub or somewhere else? If you’re able to upload your project to google drive or dropbox, you can simply post the download link for the project. If the project is zipped before uploading it should reduce file size of the upload.
As a follow up, could you let me know if you have the same issue after making a copy of your project and opening / packaging it in 4.13? The sample project you sent is unable to compile/open in 4.13 on my end.