Steps to Reproduce
  1. Create any path with couple nodes
  2. Undo + redo couple times
  3. End with creations' undo
  4. Create second path with couple nodes, but close it
  5. Undo + redo
  6. Notice that path's not closed anymore, or is deformed - last node comes from somewhere in the middle
  7. Close the path
  8. Repeat since step 5 couple times
  9. Optional:
    1. Undo completely
    2. Click anywhere in the viewport (one node appears)
    3. Click anywhere in the viewport
  10. Notice crash (callstack attached).
Callstack

LoginId:00268fe246124d7f58e3009d8d1cfcb1
EpicAccountId:aa0d28dc8b3045a296e36a46fe4b5c31

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000005c0

TwinmotionCookedEditor_Win64_Shipping!USplineComponent::GetSplineLength() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\Components\SplineComponent.cpp:1217]
TwinmotionCookedEditor_Win64_Shipping!UResourceSpline::updateStepsPerSegment() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionCore\Private\Resources\ResourceSpline.cpp:917]
TwinmotionCookedEditor_Win64_Shipping!UModePathEdit::setTransform() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionTools\Private\Logic\ModePathEdit.cpp:175]
TwinmotionCookedEditor_Win64_Shipping!UBaseModeDrop::onMouseUpInViewport_Legacy() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionTools\Private\Logic\BaseModeDrop.cpp:78]
TwinmotionCookedEditor_Win64_Shipping!UModeManager::onMouseUpViewport() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionTools\Private\Logic\ModeManager.cpp:138]
TwinmotionCookedEditor_Win64_Shipping!CMouseUpViewport::doSynchronize() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionTools\Private\Logic\Task\MouseCommand.cpp:82]
TwinmotionCookedEditor_Win64_Shipping!IMouseCommand::synchronize() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionTools\Private\Logic\Task\MouseCommand.cpp:26]
TwinmotionCookedEditor_Win64_Shipping!IBaseTask::update() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionCore\Private\Task\BaseTask.cpp:151]
TwinmotionCookedEditor_Win64_Shipping!CTaskManager::updateSync() [D:\build\TM+202510\Sync\Twinmotion\Source\TwinmotionCore\Private\Task\TaskManager.cpp:231]
TwinmotionCookedEditor_Win64_Shipping!ATwinmotionGameMode::Tick() [D:\build\TM+202510\Sync\Twinmotion\Source\Twinmotion\Private\TwinmotionGameMode.cpp:583]
TwinmotionCookedEditor_Win64_Shipping!AActor::TickActor() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:1579]
TwinmotionCookedEditor_Win64_Shipping!FActorTickFunction::ExecuteTick() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:287]
TwinmotionCookedEditor_Win64_Shipping!TGraphTask<FTickFunctionTask>::ExecuteTask() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:634]
TwinmotionCookedEditor_Win64_Shipping!UE::Tasks::Private::FTaskBase::TryExecuteTask() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Core\Public\Tasks\TaskPrivate.h:507]
TwinmotionCookedEditor_Win64_Shipping!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:667]
TwinmotionCookedEditor_Win64_Shipping!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:1527]
TwinmotionCookedEditor_Win64_Shipping!FTickTaskSequencer::ReleaseTickGroup() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:815]
TwinmotionCookedEditor_Win64_Shipping!FTickTaskManager::RunTickGroup() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1866]
TwinmotionCookedEditor_Win64_Shipping!UWorld::Tick() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1496]
TwinmotionCookedEditor_Win64_Shipping!UGameEngine::Tick() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1784]
TwinmotionCookedEditor_Win64_Shipping!FEngineLoop::Tick() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5887]
TwinmotionCookedEditor_Win64_Shipping!GuardedMain() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
TwinmotionCookedEditor_Win64_Shipping!GuardedMainWrapper() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123]
TwinmotionCookedEditor_Win64_Shipping!LaunchWindowsStartup() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277]
TwinmotionCookedEditor_Win64_Shipping!WinMain() [D:\build\TM+202510\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:318]
TwinmotionCookedEditor_Win64_Shipping!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention TM-18742 in the post.

0
Login to Vote

Fixed
ComponentTM - Tools
Affects Versionstwinmotion 2025.1 final
Target Fixtwinmotion 2025.1.1
CreatedFeb 14, 2025
ResolvedMar 7, 2025
UpdatedMar 28, 2025
View Jira Issue