chunky-cat / QUnreal

MIT License
6 stars 0 forks source link

Editor Crash when Draging in a .wad file to the same folder that you are importing a .map file. #1

Closed HeadClot closed 2 months ago

HeadClot commented 2 months ago

Description: When Importing a .map file and a .wad file to the same folder it will cause an editor crash.

How to reproduce: Drag in a .wad file to a folder then drag in a .map file to the same folder that you dragged the .wad file to. It should cause an editor crash.

Expected result: No Crash and the .Map file should be imported.

HeadClot commented 2 months ago

I got some additional info for you to fix the issue. :)

QUnreal_Testbed_2.log


Unhandled` Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00007ffccc229278

VCRUNTIME140
UnrealEditor_Core!FString::ToUpper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Containers\String.cpp.inl:518]
UnrealEditor_QUnreal!UQuakeMapAsset::LoadMapFromFile() [D:\UE5_Projects\5_4\CompilePls\Plugins\QUnreal\Source\Qunreal\Private\QuakeMapAsset.cpp:81]
UnrealEditor_QUnrealED!UQuakeMapAssetFactory::Reimport() [D:\UE5_Projects\5_4\CompilePls\Plugins\QUnreal\Source\QUnrealED\Private\QuakeMapAssetFactory.cpp:101]
UnrealEditor_UnrealEd!FReimportManager::ReimportAsync() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Editor.cpp:493]
UnrealEditor_UnrealEd!FReimportManager::Reimport() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Editor.cpp:282]
UnrealEditor_UnrealEd!FImportFilesByPath::Run() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\ImportSubsystem.cpp:88]
UnrealEditor_UnrealEd!UImportSubsystem::HandleNextTick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\ImportSubsystem.cpp:174]
UnrealEditor_UnrealEd!V::TBaseUObjectMethodDelegateInstance::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:650]
UnrealEditor_Engine!FTimerUnifiedDelegate::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Public\TimerManager.h:50]
UnrealEditor_Engine!FTimerManager::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\TimerManager.cpp:940]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1624]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:550]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5921]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:180]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
tinogoehlert commented 2 months ago

should be resolved by the most recent commit. could you please confirm that it works now @HeadClot ? :-)

thx for reporting this.

HeadClot commented 2 months ago

This has been resolved :)