UE5安装完成后启动崩溃解决方案
本人在安装UE5.03后打开UE5.03.exe时一直卡在75%后出现以下报错,没有编译通过。
错误提示:
LoginId:a30b2ca84636c471ff3cc18bf8ae1240
EpicAccountId:a71ba8c75f2e4d6c88ae94bf6e67d4df
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
UnrealEditor_SourceCodeAccess!FSourceCodeAccessModule::HandleModularFeatureRegistered() [D:\build++UE5\Sync\Engine\Source\Developer\SourceCodeAccess\Private\SourceCodeAccessModule.cpp:156]
UnrealEditor_SourceCodeAccess!TBaseRawMethodDelegateInstance<0,FSourceCodeAccessModule,void __cdecl(FName const &,IModularFeature *),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:470]
UnrealEditor_Core!TMulticastDelegate<void __cdecl(FName const &,IModularFeature *),FDefaultDelegateUserPolicy>::Broadcast() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:967]
UnrealEditor_Core!FModularFeatures::RegisterModularFeature() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Features\ModularFeatures.cpp:45]
UnrealEditor_RiderSourceCodeAccess!FRiderSourceCodeAccessModule::GenerateUprojectAccessors() [D:\build++UE5\Sync\Engine\Plugins\Developer\RiderSourceCodeAccess\Source\RiderSourceCodeAccess\Private\RiderSourceCodeAccessorModule.cpp:86]
UnrealEditor_RiderSourceCodeAccess!FRiderSourceCodeAccessModule::StartupModule() [D:\build++UE5\Sync\Engine\Plugins\Developer\RiderSourceCodeAccess\Source\RiderSourceCodeAccess\Private\RiderSourceCodeAccessorModule.cpp:20]
UnrealEditor_Core!FModuleManager::LoadModuleWithFailureReason() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:579]
UnrealEditor_Projects!FModuleDescriptor::LoadModulesForPhase() [D:\build++UE5\Sync\Engine\Source\Runtime\Projects\Private\ModuleDescriptor.cpp:690]
UnrealEditor_Projects!FPluginManager::TryLoadModulesForPlugin() [D:\build++UE5\Sync\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:1583]
UnrealEditor_Projects!FPluginManager::LoadModulesForEnabledPlugins() [D:\build++UE5\Sync\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:1658]
UnrealEditor!FEngineLoop::LoadStartupModules() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4118]
UnrealEditor!FEngineLoop::PreInitPostStartupScreen() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3469]
UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:137]
UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
UnrealEditor!__scrt_common_main_seh() [d:\a01_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
**
解决方法:卸载Rider
**
因为我一开始安装了Rider编辑器,在编译至75%时一直不通过,并出现如上报错,错误提示显示的是内存释放的问题,但一直找不到解决方法,于是我选择卸载Rider,就可以打开了。笔者的电脑也安装了Visual Studio,可以在之后再重新安装Rider??我也不清楚问题所在(不知道是不是Rider还没有更新匹配UE5),所以使用了这种暴力卸载的方法
**
注意:此方法仅解决笔者当务之急,不确定是否解决问题真正根源
**