The sample project runs fine, and tracking is good.
But when I try to package the project i get this:
[59/63] Compile [x64] ZEDWidget.cpp
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2463): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2464): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2481): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
[60/63] Compile [x64] ZEDWidgetComponent.cpp
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\ZED\Private\HUD\ZEDWidgetComponent.cpp(30): warning C4996: 'UTextBlock::Font': Direct access to Font is deprecated. Please use the getter or setter. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
[61/63] Compile [x64] ZEDPlayerController.cpp
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2463): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2464): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Plan8-PC\Downloads\ZEDExample\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Public\Core\StereolabsCoreGlobals.h(2481): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
Total time in Parallel executor: 142.16 seconds
Total execution time: 148.59 seconds
CompilationResultException: OtherCompilationError
at UnrealBuildTool.ActionGraph.ExecuteActionsAsync(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, List`1 TargetDescriptors, ILogger Logger, IActionArtifactCache actionArtifactCache) in C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 451
at UnrealBuildTool.BuildMode.BuildAsync(TargetMakefile[] Makefiles, List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger) in C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 801
at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 411
at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in C:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 660
WriteFileIfChanged() wrote 120 changed files of 120 requested writes.
Timeline:
[ 0.000]
[ 0.000](+148.623) <unknown>
[148.623]
It seems to crash when calling a ZED SDK function. Is there anything different in both projects? ZED SDK version, UE version… Are both projects using DX12?
Seems kind of random I’m afraid.
This happens in a fairly fresh UE5.4.4 project. I have rebuilt the plugin for that project.
Using Cuda 12.6.85
ZED SDK 4.2.3
But sometime when hitting play in the editor i get this
Also, the origin of the chatracter when body tracking is the center of the “floor” i assume. Meaning that if there is a carpet in half the room the avatar gets an offset to the right? Even if i stand straight infront of the camera the avatar “manny” is placed to the right…Unchecking “Set Floor as origin” crashes UE, at least for me.
The whole project is a bit of a mess, with some blueprint compile errors and missing plugins.
To reproduce the crash: open the level Healthcare_2025 in the editor and try to play it.
Please let me know if you need anything else. Maybe i could create a smaller project with the crash?
/T
Den tors 23 jan. 2025 kl 10:39 skrev Tor Castensson tor@plan8.se:
It’s fine, I managed to play the scene and make it crash. I’ll investigate today and hopefully, I have something to share before the end of the day.
I pushed a modification to the plugin to handle the crash. I still don’t know why sometimes, the texture is not correctly initialised but this temporary fix should work for now.