Description

Generated from CrashReporter

Steps to Reproduce
  1. Open any project in UE5
  2. Select File > New Level
  3. Select the TimeOfDay template
  4. Press Ctrl + L to move the light source around
  5. Click the left mouse button

RESULT:

Crashes

EXPECTED:

The engine doesn't crash when pressing the mouse buttons while moving the light source

Callstack
Fatal error: [File:D:/build/++UE5/Sync/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10] Cast of nullptr to PointLight failed

UnrealEditor-CoreUObject!CastLogError(wchar_t const *,wchar_t const *) [Casts.cpp:11]
UnrealEditor-UnrealEd!7ffbaf9f0000  + 9572fc
UnrealEditor-UnrealEd!7ffbaf9f0000  + 92cdbc
UnrealEditor-UnrealEd!7ffbaf9f0000  + 95891d
UnrealEditor-UnrealEd!7ffbaf9f0000  + 568ceb
UnrealEditor-UnrealEd!7ffbaf9f0000  + 55a6d9
UnrealEditor-UnrealEd!7ffbaf9f0000  + 95022d
UnrealEditor-LevelEditor!FViewportClient::InputKey(FInputKeyEventArgs const &) [UnrealClient.h:851]
UnrealEditor-Engine!FSceneViewport::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [SceneViewport.cpp:577]
UnrealEditor-Slate!SViewport::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [SViewport.cpp:219]
UnrealEditor-Slate!static class FReply FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_df8cb182a345f476e099733ec2265ad6> >(class FSlateApplication *, class FEventRouter::FToLeafmostPolicy, struct FPointerEvent, const class FSlateApplication::RoutePointerUpEvent::__l8::<lambda_df8cb182a345f476e099733ec2265ad6> & const, ESlateDebuggingInputEvent) [SlateApplication.cpp:380]
UnrealEditor-Slate!FSlateApplication::RoutePointerUpEvent(FWidgetPath const &,FPointerEvent const &) [SlateApplication.cpp:4835]
UnrealEditor-Slate!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent const &) [SlateApplication.cpp:5377]
UnrealEditor-Slate!FSlateApplication::OnMouseUp(EMouseButtons::Type,FVector2D) [SlateApplication.cpp:5342]
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:2196]
UnrealEditor-ApplicationCore!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> &,HWND__ *,unsigned int,unsigned __int64,__int64,int,int,unsigned int) [WindowsApplication.cpp:2689]
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:1872]
UnrealEditor-ApplicationCore!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:896]
USER32!7ffc1d2a0000  + e858
USER32!7ffc1d2a0000  + e4ee
InkObj!7ffb8a5c0000  + e7e19
atlthunk!7ffbf9e80000  + 1028
USER32!7ffc1d2a0000  + e858
USER32!7ffc1d2a0000  + e299
UnrealEditor-ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:131]
UnrealEditor!7ff69e310000  + 76cb
UnrealEditor!7ff69e310000  + 20b2c
UnrealEditor!7ff69e310000  + 20c0a
UnrealEditor!7ff69e310000  + 3573d
UnrealEditor!7ff69e310000  + 386ba
KERNEL32!7ffc1d1d0000  + 17034
ntdll!7ffc1f0d0000  + 52651

Have Comments or More Details?

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

1
Login to Vote

Fixed
Fix Commit16584033
Main Commit16584041
Release Commit16584033
CreatedMay 27, 2021
ResolvedJun 8, 2021
UpdatedJan 22, 2024