-
Notifications
You must be signed in to change notification settings - Fork 34
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
UE5.2.1 Crashing #30
Comments
Hi, can you share your airsim settings.json file? |
Can you try turning off DrawDebugPoints for the Lidar sensors? |
turning off DrawDebugPoints alone didnt work , however removing the Resolution, RotationsPerSecond, MeasurementsPerCycle, and turning off DrawDebugPoints seems to be working. i havent had a crash in 30 mins , before it was crashing as soon as i start the ros2 wrapper. here is my new Lidar settings: |
any fix or potential clue on that? I have the same issue, especially when switching viewport. |
in my case it was because it was trying to draw the debug lines even though it was set to false in the settings. it kept on breaking at this line in Visual studio, AirBluePrintLib.cpp -> DrawPoint function -> LineBatcher->DrawPoint(Position, Color.ReinterpretAsLinear(), Size, DepthPriority, PointLifeTime); after commenting it out and also these lines in UnrealLidarSensor.cpp -> UpdatePose() -> //UAirBlueprintLib::DrawPoint(actor_->GetWorld(), sensor_position, 5, FColor::Black, false, draw_time_); |
Can you share your settings.json as well please? I will take a look. |
I think to have fixed this, will be part of the next build. Let me know if still an issue. |
i have an issue with UE5.2.1 , with the blocks environment , when i run the ros2 wrapper Unreal engine crashes with the following error
Assertion failed: !bPostTickComponentUpdate [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp] [Line: 887]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_AirSim!UAirBlueprintLib::DrawPoint() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirBlueprintLib.cpp:116]
UnrealEditor_AirSim!UnrealLidarSensor::getPointCloud() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\UnrealSensors\UnrealLidarSensor.cpp:215]
UnrealEditor_AirSim!msr::airlib::LidarSimple::updateOutput() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\sensors\lidar\LidarSimple.hpp:100]
UnrealEditor_AirSim!msr::airlib::LidarSimple::update() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\sensors\lidar\LidarSimple.hpp:51]
UnrealEditor_AirSim!msr::airlib::UpdatableContainer<msr::airlib::SensorBase >::update() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\common\UpdatableContainer.hpp:62]
UnrealEditor_AirSim!msr::airlib::SensorCollection::update() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\sensors\SensorCollection.hpp:86]
UnrealEditor_AirSim!msr::airlib::MultiRotorPhysicsBody::updateSensorsAndController() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\vehicles\multirotor\MultiRotorPhysicsBody.hpp:90]
UnrealEditor_AirSim!msr::airlib::FastPhysicsEngine::updatePhysics() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\physics\FastPhysicsEngine.hpp:114]
UnrealEditor_AirSim!msr::airlib::FastPhysicsEngine::update() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\physics\FastPhysicsEngine.hpp:50]
UnrealEditor_AirSim!msr::airlib::World::update() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\physics\World.hpp:53]
UnrealEditor_AirSim!msr::airlib::World::worldUpdatorAsync() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\physics\World.hpp:152]
UnrealEditor_AirSim!common_utils::ScheduledExecutor::executorLoop() [D:\AIRSIMSTUFF\Cosys-AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirLib\include\common\common_utils\ScheduledExecutor.hpp:204]
UnrealEditor_AirSim!std::thread::_Invoke<std::tuple<void (__cdecl common_utils::ScheduledExecutor::)(void),common_utils::ScheduledExecutor *>,0,1>() [C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\INCLUDE\thread:61]
ucrtbase
kernel32
ntdll
or the following error
Assertion failed: !bRenderStateDirty [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp] [Line: 1816] Failed to route CreateRenderState_Concurrent (LineBatchComponent /Engine/Transient.LineBatchComponent_6)
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
i have reinstalled Unreal engine, reinstalled VS, and Cosys-Airsim and rebuilt everything still getting the errors
The text was updated successfully, but these errors were encountered: