Closed gschian0 closed 2 years ago
Hi @gschian0 The RealSense Unreal wrapper is designed specifically for UE 4.26 and has references in its code that perform version checks, as shown at the link below.
Particularly in the wrapper file RealSenseUE.uproject:
"EngineAssociation": "4.26",
I have same problem on UE 5.3
Hi @DryreL The RealSense UE4 wrapper will not work with UE5. A RealSense user shared a RealSense plugin for UE5 at https://github.com/IntelRealSense/librealsense/issues/12262
attempting to upgrade project files to ue5... I get this error when trying to generate a new project.
`Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project="C:/Users/GennaroSchiano/Documents/GitHub/librealsenseSR/wrappers/unrealengine5/RealSenseUE.uproject" -game -rocket -progress -log="C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5/Saved/Logs/UnrealVersionSelector-2022.05.19-19.14.36.log" Log file: C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Saved\Logs\UnrealVersionSelector-2022.05.19-19.14.36.log Log file: C:\Users\GennaroSchiano\AppData\Local\UnrealBuildTool\Log_GPF.txt
Some Platforms were skipped due to invalid SDK setup: IOS, Android, Linux, LinuxArm64. See the log file for detailed information
Discovering modules, targets and source code for project... Compiled assembly file 'C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Intermediate\Build\BuildRules\RealSenseUEModuleRules.dll' appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly 'C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Intermediate\Build\BuildRules\RealSenseUEModuleRules.dll'. Format of the executable (.exe) or library (.dll) is invalid.) C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Plugins\RuntimeMeshComponent\Source\RuntimeMeshComponent\RuntimeMeshComponent.Build.cs(11,9): error CS0103: The name 'bFasterWithoutUnity' does not exist in the current context C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Plugins\RealSense\Source\RealSense\RealSense.Build.cs(55,4): error CS0103: The name 'PublicLibraryPaths' does not exist in the current context C:\Users\GennaroSchiano\Documents\GitHub\librealsenseSR\wrappers\unrealengine5\Plugins\RealSense\Source\RealSense\RealSense.Build.cs(56,4): error CS0103: The name 'PublicLibraryPaths' does not exist in the current context ERROR: Expecting to find a type to be declared in a target rules named 'RealSenseUETarget'. This type must derive from the 'TargetRules' type defined by Unreal Build Tool`
thanks for any help in advance! -Gennaro