Torrigered when hotreload is performed in a case where code referencing to dll. Crash when restarting from VisualStudio.
It didn’t see in 4.21.
Workaround:
Delete the Intermediate folder and execute Generate Visual Studio project files
Similar issue:
LiveCoding case at [Link Removed]
1. Launch editor with VisualStudio
2. Change the C++ code (e.g. Change CameraBoom->TargetArmLength of AHotReloadTestCharacter from 500f to 400.f in attached project)
3. Press "Compile" button on Editor with hotreload
4. Close editor
5. Relaunch editor from VisualStudio
> UE4Editor-CoreUObject.dll!UClassCompiledInDefer(FFieldCompiledInInfo * ClassInfo, const wchar_t * Name, unsigned __int64 ClassSize, unsigned int Crc) Line 607 C++ [External Code] UE4Editor-Core.dll!FWindowsPlatformProcess::LoadLibraryWithSearchPaths(const FString & FileName, const TArray<FString,FDefaultAllocator> & SearchPaths) Line 1675 C++ UE4Editor-Core.dll!FWindowsPlatformProcess::GetDllHandle(const wchar_t * FileName) Line 92 C++ UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason(const FName InModuleName, EModuleLoadResult & OutFailureReason) Line 511 C++ UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type LoadingPhase, const TArray<FModuleDescriptor,FDefaultAllocator> & Modules, TMap<FName,enum EModuleLoadResult,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FName,enum EModuleLoadResult,0> > & ModuleLoadErrors) Line 596 C++ UE4Editor-Projects.dll!FProjectManager::LoadModulesForProject(const ELoadingPhase::Type LoadingPhase) Line 63 C++ UE4Editor.exe!FEngineLoop::LoadStartupModules() Line 3135 C++ UE4Editor.exe!FEngineLoop::PreInit(const wchar_t * CmdLine) Line 2536 C++ [Inline Frame] UE4Editor.exe!EnginePreInit(const wchar_t *) Line 42 C++ UE4Editor.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 129 C++ UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 261 C++ [External Code]
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76817 in the post.
6 |
Component | UE - Foundation - Cpp Tools - Hot Reload |
---|---|
Affects Versions | 4.22.3 |
Target Fix | 4.23 |
Created | Jun 30, 2019 |
---|---|
Resolved | Jul 19, 2019 |
Updated | Aug 1, 2019 |