Assertion failed: VehMesh != nullptr UE-AutoVrtlEnv
10 次查看(过去 30 天)
显示 更早的评论
I was trying to simulate theVTOLTiltrotor in Unreal Engine. Whenever I tried to run the simualtion using Default Scenes in Simulation 3D Engine block I am facing this error
Assertion failed: VehMesh != nullptr
[File:C:\TEMP\Bsim3d_2535942_3008\AutoVrtlEnv\Plugins\MathWorksSimulation\Source\MathWorksSimulation\Private\Sim3dVeh.cpp] [Line:
254]
Failed to load
SkeletalMesh'/Game/Maps/VTOLDEMO/VTOLAsset.VTOLAsset'. Please
specify a valid mesh path.
I tried everything, I followed all the steps made sure the verison of Matlab and Unreal Engine are compatible with each other. I am just trying to use the default packages without any modifications to the code.
I tried uninstalling and installing both matlab and unreal engine also tried in another system with fresh installation, even tried running both Matlab and Unreal Engine with admin privileges.


0 个评论
回答(1 个)
Nishan Nekoo
2025-4-22
If its R2024b, did you follow all the instructions on this page? https://www.mathworks.com/help/uav/ug/visualize-vtol-flight-mission-over-urban-environment.html
You will need to manually import the VTOL Vehicle into Unreal Engine to use it in Unreal Engine Scenes. In particular, this instruction on modifying the path in the VTOL block is important:
To copy the reference path to this asset, right-click the VTOLAsset skeletal mesh object in Content Browser pane and click Copy Reference.
In the Simulation 3D UAV Vehicle block of the Photorealistic subsystem, set the Type parameter to Custom and then set the Path to custom mesh parameter to the reference path.
Hope that helps,
Nishan
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!








