As the title says, my program was working fine until I added a Startup Movie to play when the program is first launched. I see this was an issue with a lot of other users dating back years.
I was hoping anyone knew a way to fix this or if any version is known to not have this as an issue.
Any help and info would be greatly appreciated!
Hey there @SilentPeat! Welcome to the community! Is the startup movie placed in a movies folder in the content folder before packaging? As this can occur if the file location was outside of this specific location beforehand. Alternatively, could we see the error that the crash reporter showed? It may help in identifying the issue!
Thank you!
I’ve not packaged the game yet and was using the Standalone Game play test function but, yes, the videos were in the config movie folder before starting the session.
And here is the error code:
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 953]
Rendering thread exception:
Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\HeadMountedDisplay\Public\IHeadMountedDisplayModule.h] [Line: 90]
0x00007ff940964f00 UnrealEditor-WindowsMoviePlayer.dll!UnknownFunction
0x00007ff94096c213 UnrealEditor-WindowsMoviePlayer.dll!UnknownFunction
0x00007ff94096a5c7 UnrealEditor-WindowsMoviePlayer.dll!UnknownFunction
0x00007ff94096a7f6 UnrealEditor-WindowsMoviePlayer.dll!UnknownFunction
0x00007ff94096ce58 UnrealEditor-WindowsMoviePlayer.dll!UnknownFunction
0x00007ff9d0d4c8cb UnrealEditor-MoviePlayer.dll!UnknownFunction
0x00007ff9d0d4180d UnrealEditor-MoviePlayer.dll!UnknownFunction
0x00007ff9d0d43218 UnrealEditor-MoviePlayer.dll!UnknownFunction
0x00007ff981572fdd UnrealEditor-Core.dll!UnknownFunction
0x00007ff98157352e UnrealEditor-Core.dll!UnknownFunction
0x00007ff9a0f5f804 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ff9a0f63b54 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007ff981c95342 UnrealEditor-Core.dll!UnknownFunction
0x00007ff981c8d230 UnrealEditor-Core.dll!UnknownFunction
0x00007ff9db697344 KERNEL32.DLL!UnknownFunction
0x00007ff9dd5a26b1 ntdll.dll!UnknownFunction
Ahhh that might be the issue. Is your project XR? There’s been a couple of reports with startup movies failing on some headsets.
Sorry for the very delayed response but no it isn’t. I loaded up a fresh 5.1.1 as well to see if that would fix it and it still crashed anytime a video was roughly over 500kb.
Interesting! I wonder why it’s referencing the HMD module. Do you have any of the OpenXR or any of the VR plugins enabled?
I double checked and I do not.
Do you have a method of reproducing this error in a fresh project?
Does your starting map have any errors?
Could you try changing the starting map the game opens to and test it with multiple codecs?
The error seems to be that it’s not being called during the game thread but that should start as soon as the game launches, so it being part of the HMD module might be red herring from other instances I’ve seen this error in.
That was in a fresh project.
I also did it in an older one with the same error code.