Description

Crash on startup If a cubemap texture for a skylight is set in the constructor.  Attached images of where the user thinks the crash is coming from.

Works Properly in 4.19 CL# 4033788

Found in 4.20 CL# 4.20 4212847

This is a regression.

Steps to Reproduce
  1. Open Attached Project

Results:
Crash on launch

Expected:
Project will open

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

UE4Editor_Engine!USkyLightComponent::UpdateSkyCaptureContentsArray() [d:\main\engine\source\runtime\engine\private\components\skylightcomponent.cpp:564]
UE4Editor_Engine!USkyLightComponent::UpdateSkyCaptureContents() [d:\main\engine\source\runtime\engine\private\components\skylightcomponent.cpp:632]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\main\engine\source\editor\unrealed\private\editorengine.cpp:1619]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\main\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\main\engine\source\runtime\launch\private\launchengineloop.cpp:3495]
UE4Editor!GuardedMain() [d:\main\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

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

8
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.204.21
Target Fix4.21
Fix Commit4230440
Main Commit4358751
Release Commit4399518
CreatedJul 23, 2018
ResolvedJul 24, 2018
UpdatedOct 2, 2018