Description

This is a common crash that has occurred since at least 4.17. Based on the user comment below, this may be a VR issue (unconfirmed)

User Descriptions

  • it seems to me UKismetMaterialLibrary::SetVectorParameterValue (....) many times, every frame May be implicated in the crash(?++ version). but Only in VR mode(HTC Vive). worked only helmet. I disabled the controllers, since I originally thought the problem was in them, but it turned out that they do not have any effect on this problem

Source Context

1548       	// Any widgets that may have received key events
 1549       	// are given a chance to process accumulated values.
 1550       	ForEachUser([&] (FSlateUser* User) {
 1551       		const FWeakWidgetPath& WidgetPath = User->GetWeakFocusPath();
 1552       		for ( const TWeakPtr<SWidget>& WidgetPtr : WidgetPath.Widgets )
 1553       		{
 1554       			const TSharedPtr<SWidget>& Widget = WidgetPtr.Pin();
 1555       			if ( Widget.IsValid() )
 1556       			{
 1557 ***** 				Widget->OnFinishedKeyInput();
 1558       			}
 1559       			else
 1560       			{
 1561       				break;
 1562       			}
 1563       		}
 1564       	});
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Slate!<lambda_c42855a8df853c2fca6077897314e16e>::operator() [slateapplication.cpp:1558]
UE4Editor_Slate!FSlateApplication::ForEachUser() [slateapplication.cpp:4464]
UE4Editor_Slate!FSlateApplication::FinishedInputThisFrame() [slateapplication.cpp:1567]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3277]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Editor - UI Systems - Slate
Affects Versions4.174.184.19
CreatedNov 21, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue