Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when model load #8

Open
kidach1 opened this issue Nov 30, 2022 · 0 comments
Open

Crash when model load #8

kidach1 opened this issue Nov 30, 2022 · 0 comments

Comments

@kidach1
Copy link

kidach1 commented Nov 30, 2022

Hi,

When I drag and drop a my .onnx model into the Models folder in the Content Browser with the NNI Plugin enabled, UE 5.0.3 crashes and I receive this warnings and error:

LoginId:566104db435199706d3e599d90248b6d
EpicAccountId:3615f45d01e442e98192e379821e35a2

Assertion failed: false [File:D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\Private\ThirdPartyHelperAndDLLLoader\Private\ORTExceptionHandler.cpp] [Line: 16] ONNXRuntime threw an exception with code 6, e.what(): "Exception during initialization: D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\ThirdParty\ORT\Private\Windows\core\providers\dml\DmlExecutionProvider\src\AbiCustomRegistry.cpp(507)\UnrealEditor-ONNXRuntime.dll!00007FFC9E6917DA: (caller: 00007FFC9E69D3D1) Exception(3) tid(7e14) 80070057 The parameter is incorrect. ".

UnrealEditor_ThirdPartyHelperAndDLLLoader!FORTExceptionHandler::ThrowPseudoException() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\Private\ThirdPartyHelperAndDLLLoader\Private\ORTExceptionHandler.cpp:16]
UnrealEditor_NeuralNetworkInference!Ort::ThrowOnError() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\ThirdParty\ORT\Internal\core\session\onnxruntime_cxx_inline.imp:17]
UnrealEditor_NeuralNetworkInference!Ort::Session::Session() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\ThirdParty\ORT\Internal\core\session\onnxruntime_cxx_inline.imp:551]
UnrealEditor_NeuralNetworkInference!UNeuralNetwork::FImplBackEndUEAndORT::Load() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\NeuralNetworkInference\Private\NeuralNetworkImplBackEndUEAndORT.cpp:349]
UnrealEditor_NeuralNetworkInference!UNeuralNetwork::Load() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\NeuralNetworkInference\Private\NeuralNetwork.cpp:549]
UnrealEditor_NeuralNetworkInference!UNeuralNetwork::Load() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\NeuralNetworkInference\Private\NeuralNetwork.cpp:99]
UnrealEditor_NeuralNetworkInferenceEditor!UNeuralNetworkFactory::FactoryCreateFile() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\NNI\Source\NeuralNetworkInferenceEditor\Private\NeuralNetworkFactory.cpp:46]
UnrealEditor_UnrealEd!UFactory::ImportObject() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Factories\Factory.cpp:205]
UnrealEditor_AssetTools!UAssetToolsImpl::ImportAssetsInternal() [D:\build\++UE5\Sync\Engine\Source\Developer\AssetTools\Private\AssetTools.cpp:2254]
UnrealEditor_AssetTools!UAssetToolsImpl::ImportAssets() [D:\build\++UE5\Sync\Engine\Source\Developer\AssetTools\Private\AssetTools.cpp:1277]
UnrealEditor_UnrealEd!FImportFilesByPath::Run() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\ImportSubsystem.cpp:97]
UnrealEditor_UnrealEd!UImportSubsystem::HandleNextTick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Subsystems\ImportSubsystem.cpp:171]
UnrealEditor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UImportSubsystem,void __cdecl(void),FDefaultDelegateUserPolicy>::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:594]
UnrealEditor_Engine!FTimerUnifiedDelegate::Execute() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Public\TimerManager.h:51]
UnrealEditor_Engine!FTimerManager::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\TimerManager.cpp:925]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1402]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:474]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
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

How could I resolve this?

I found similar issues on onnxruntime repo but I'm not sure if these apply to my case.
microsoft/onnxruntime#12677
microsoft/onnxruntime#12761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant