UE crashing before loading, getting the following message:

Assertion failed: !GIsRHIInitialized || !GRHISupportsRHIThread [File:Runtime/RHI/Public/RHIStaticStates.h] [Line: 102]

TStaticStateRHI<TStaticDepthStencilState<false, (ECompareFunction)7, false, (ECompareFunction)7, (EStencilOp)0, (EStencilOp)0, (EStencilOp)0, false, (ECompareFunction)7, (EStencilOp)0, (EStencilOp)0, (EStencilOp)0, (unsigned char)255, (unsigned char)255>, TRefCountPtr, FRHIDepthStencilState*>::FStaticStateResource::~FStaticStateResource() Address = 0x1b99a97a5 (filename not found) [in UnrealEditor-WebMMedia.dylib]
Unknown() Address = 0x7ff819213ccf (filename not found) [in libsystem_c.dylib]
Unknown() Address = 0x7ff819213ae9 (filename not found) [in libsystem_c.dylib]
fatal_error_exit Address = 0x1cf158662 (filename not found) [in libpython3.9.dylib]
fatal_error Address = 0x1cf158433 (filename not found) [in libpython3.9.dylib]
Py_ExitStatusException Address = 0x1cf1583a9 (filename not found) [in libpython3.9.dylib]
Py_InitializeEx Address = 0x1cf0886e9 (filename not found) [in libpython3.9.dylib]
FPythonScriptPlugin::InitializePython() Address = 0x1ce075081 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptPlugin::StartupModule() Address = 0x1ce074a09 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, ELoadModuleFlags) Address = 0x10eea67eb (filename not found) [in UnrealEditor-Core.dylib]
FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32> > const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false> >&) Address = 0x10d3f2ee4 (filename not found) [in UnrealEditor-Projects.dylib]
FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const Address = 0x10d40e6f9 (filename not found) [in UnrealEditor-Projects.dylib]
FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type) Address = 0x10d4109a2 (filename not found) [in UnrealEditor-Projects.dylib]
FEngineLoop::LoadStartupModules() Address = 0x1045835cc (filename not found) [in UnrealEditor]
FEngineLoop::PreInitPostStartupScreen(char16_t const*) Address = 0x10457e50d (filename not found) [in UnrealEditor]
GuardedMain(char16_t const*) Address = 0x10456c3e5 (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x104587725 (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x10ecefcbc (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x7ff81a18482c (filename not found) [in Foundation]
_pthread_start Address = 0x7ff81931d259 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7ff819318c7b (filename not found) [in libsystem_pthread.dylib]

Hey there @AnthonyPSimone! Welcome to the community! The error leads of with an RHI issue, so itā€™s possibly a graphics driver issue. Letā€™s determine the circumstances first.

Is this occurring for all projects?

If so does this happen while launching the base engine?

What are your specs?

I have the same problem.

Hey there @sxhxliang! Welcome to the community! To get to the root of either of your issues, I have to ask the same questions to start, then we can troubleshoot the pyramid of possibilities that is RHI based crashes.

Is this occurring for all projects?

If so does this happen while launching the base engine?

What are your specs?

Hi, I have the same issue. Iā€™m using mac M1 16GB macOS 13.2.1
Iā€™m also wondering if the fact that I installed Unreal on my external hard drive can cause any problems with location of different files engine might be looking for. Both Unreal Engine and Xcode are installed on my external SSD. Itā€™s the first time Iā€™m trying to run this software, and the error above is what I get when trying to start up

1 Like

Hey there @Leoy42! Welcome to the community! I also work entirely from an external, though from Windows and Linux respectively, so if it is a factor itā€™s likely something environmental. Generally when the RHI is part of the issues, itā€™s often graphical in nature. In your case the engine itself wonā€™t launch at all correct?

Hereā€™s a screen recording showing what happens when I try to run it Screen Recording 2023 03 20 at 16 25 34 - YouTube
The first dialogue box started to appear when I installed Quixel Bridge, but then the error showed later on is the same as before installing Bridge. Thank you for a quick reply and please let me know if I can give you some more information about the issue. The error is exactly the same as AnthonyPSimone wrote down at the top of the thread

@SupportiveEntity do you have any idea how can I move forward with this? I would love to resolve it on my mac, but I was also thinking if itā€™s not possible to try to run Windows running on external drive

Does the error persist after uninstalling the version of bridge that the first error is complaining about? I donā€™t believe that would be throwing the RHI error but itā€™s a good idea to clear that up first. Is it possible to try a full reinstallation of UE on your main drive? Since your OS on a Mac handles your graphics drivers, itā€™s not likely driver related. Whatā€™s your Xcode version?

I have fixed the issue by installing UE from the source code rather than using Epic Games Launcher, but now I try to open up Quixel Bridge from UE it crashes

Iā€™m thinking itā€™s possibly a mac specific bug, what error does it throw when it crashes now? Might need to see if Quixel has a fix for this one on their side, if not it might need to be reported: Report a Bug - Unreal Engine

The same problem on my m1 mac when startup, any progressļ¼Ÿ

My UE also crashes every time it tries to open, this is my code error.
I have the m2 Macbook Air with 16GB ram, 512GB Internal SSD, but i installed UE on my 1TB external NVme SSD.

"LoginId:c34039fb0c47e4bcc2fa289fa1a74efc
EpicAccountId:cc325b18fa5243c59148c63f5d6949db

Assertion failed: !GRHIGlobals.IsRHIInitialized || !GRHIGlobals.SupportsRHIThread [File:Runtime/RenderCore/Public/RHIStaticStates.h] [Line: 99]

Unknown() Address = 0x18725dec4 (filename not found) [in libsystem_c.dylib]
Unknown() Address = 0x18725dc4c (filename not found) [in libsystem_c.dylib]
_Py_PyAtExit Address = 0x2e39ea59c (filename not found) [in libpython3.9.dylib]
fatal_error Address = 0x2e39ea3f8 (filename not found) [in libpython3.9.dylib]
Py_ExitStatusException Address = 0x2e39ea360 (filename not found) [in libpython3.9.dylib]
Py_Initialize Address = 0x2e3930208 (filename not found) [in libpython3.9.dylib]
FPythonScriptPlugin::InitializePython() Address = 0x2e3f013cc (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FPythonScriptPlugin::StartupModule() Address = 0x2e3f00d08 (filename not found) [in UnrealEditor-PythonScriptPlugin.dylib]
FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, ELoadModuleFlags) Address = 0x10450d074 (filename not found) [in UnrealEditor-Core.dylib]
FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32>> const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false>>&) Address = 0x100b287c4 (filename not found) [in UnrealEditor-Projects.dylib]
FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const Address = 0x100b4ab9c (filename not found) [in UnrealEditor-Projects.dylib]
FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type) Address = 0x100b4d7f4 (filename not found) [in UnrealEditor-Projects.dylib]
FEngineLoop::LoadStartupModules() Address = 0x100886a44 (filename not found) [in UnrealEditor]
FEngineLoop::PreInitPostStartupScreen(char16_t const*) Address = 0x100881fac (filename not found) [in UnrealEditor]
GuardedMain(char16_t const*) Address = 0x10086efc8 (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x10088aafc (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x10438e0ec (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x1883ef53c (filename not found) [in Foundation]
Unknown() Address = 0x18739ffa8 (filename not found) [in libsystem_pthread.dylib]
Unknown() Address = 0x18739ada0 (filename not found) [in libsystem_pthread.dylib]"