我通过vs打开ue5.1的插件项目

严重性 代码 说明 项目 文件 禁止显示状态
错误 C2039 focal_length_metric: 不是 sl::CameraParameters 的成员 ZEDSamples H:\UE5Project\zed-UE5-main\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h 2327
!

Hi,

Could you please give us more details about your issue?

Also, what version of the ZED SDK and the UE plugin are you using?

Best

Stereolabs Support

我想应该是最新的版本,因为我是最近才下载的

Can you make sure you installed the latest SDK version v4.0.6?

Missing ZEDSamples Modules
The following modules are missing or built with a different engine version:
ZEDsamples
Stereolabs
ZED
SpatialMapping
SpatialMappingEditor
ZEDEditor
Environmentallighting
Would you like to rebuild them now?

现在为了确保正确,我再去重新安装一次最新版本

现在它正常运行了,但是他在运行时发生了崩溃

Do you have any crash log ? Which level did you try to run?

If you can share the log in English it would be nice, I, unfortunately, do not speak Chinese.

Thanks.

Stereolabs Support

Thank you very much for your help.This is my crash log.

LoginId:25eaf82147c1c1821d7be581e57aebb7
EpicAccountId:9132a0cce13b4b67bdf7f22eb6ba45be

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 868] CurrentQueue.Device->GetDevice()->GetDeviceRemovedReason() failed at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Submission.cpp:910 with error DXGI_ERROR_DEVICE_REMOVED

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

It seems very close to a know issue (Unreal Engine 5.2 DirectX 12 RHI Crash - #3 by MarkJ) with Unreal.

If possible, can you try to use DX11 instead of DX12? For the moment, we have not identified the source of this problem.

OK,Thanks again for your help