x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Crash (AV) when saving a hidden scene with a reflection capture actor

Hello,

I've observed the following bug in UE 4.9.0. The repro requires a setup with two streaming levels in a persistent level. StreamingLevelA has a ReflectionCaptureActor in it.

  1. Make some changes to StreamingLevelA. Move objects, whatever.

  2. Use the Levels window to make StreamingLevelA invisible, and StreamingLevelB visible.

  3. Try to Save All to save your changes to StreamingLevelA (which is now invisible.)

Observe: The editor will crash with an AV in UReflectionCaptureComponent::ReadbackFromGPUAndSaveDerivedData, line 1274:

WorldToUpdate->Scene->GetReflectionCaptureData(this, *NewDerivedData);

It appears that WorldToUpdate's Scene pointer is null.

I'm unsure what the proper fix would be. A simple null check to avoid dereferencing null Scene? If anyone has any suggestions I'm happy to submit a pull request with a fix.

Here's the top of the call stack:

 UE4Editor-Engine.dll!UReflectionCaptureComponent::ReadbackFromGPUAndSaveDerivedData(UWorld * WorldToUpdate) Line 1274    C++
  UE4Editor-CoreUObject.dll!FPackageExportTagger::TagPackageExports(FArchiveSaveTagExports & ExportTagger, bool bRoutePresave) Line 2702    C++
  UE4Editor-CoreUObject.dll!UPackage::SavePackage(UPackage * InOuter, UObject * Base, EObjectFlags TopLevelFlags, const wchar_t * Filename, FOutputDevice * Error, FLinkerLoad * Conform, bool bForceByteSwapping, bool bWarnOfLongFilename, unsigned int SaveFlags, const ITargetPlatform * TargetPlatform, const FDateTime & FinalTimeStamp, bool bSlowTask) Line 3183    C++
  UE4Editor-UnrealEd.dll!UEditorEngine::SavePackage(UPackage * InOuter, UObject * InBase, EObjectFlags TopLevelFlags, const wchar_t * Filename, FOutputDevice * Error, FLinkerLoad * Conform, bool bForceByteSwapping, bool bWarnOfLongFilename, unsigned int SaveFlags, const ITargetPlatform * TargetPlatform, const FDateTime & FinalTimeStamp, bool bSlowTask) Line 3778    C++
  UE4Editor-UnrealEd.dll!UEditorEngine::Exec_Obj(const wchar_t * Str, FOutputDevice & Ar) Line 4309    C++
  UE4Editor-UnrealEd.dll!UEditorEngine::Exec(UWorld * InWorld, const wchar_t * Stream, FOutputDevice & Ar) Line 5375    C++
  UE4Editor-UnrealEd.dll!UUnrealEdEngine::Exec(UWorld * InWorld, const wchar_t * Stream, FOutputDevice & Ar) Line 743    C++
  UE4Editor-UnrealEd.dll!SaveWorld(UWorld * World, const FString * ForceFilename, const wchar_t * OverridePath, const wchar_t * FilenamePrefix, bool bRenamePackageToFile, bool bCheckDirty, FString & FinalFilename, bool bAutosaving, bool bPIESaving) Line 527    C++
  UE4Editor-UnrealEd.dll!FEditorFileUtils::SaveMap(UWorld * InWorld, const FString & Filename) Line 2098    C++
  UE4Editor-UnrealEd.dll!InternalSavePackage(UPackage * PackageToSave, bool & bOutPackageLocallyWritable, FOutputDevice & SaveOutput) Line 2479    C++
  UE4Editor-UnrealEd.dll!FEditorFileUtils::PromptForCheckoutAndSave(const TArray<UPackage *,FDefaultAllocator> & InPackages, bool bCheckDirty, bool bPromptToSave, TArray<UPackage *,FDefaultAllocator> * OutFailedPackages, bool bAlreadyCheckedOut, bool bCanBeDeclined) Line 3009    C++


Product Version: UE 4.9
Tags:
more ▼

asked Oct 02 '15 at 04:17 PM in Rendering

avatar image

etayrienwork
51 1 2 5

avatar image hyperdr1ve Nov 16 '15 at 07:12 PM

also getting this crash when trying to play standalone under the same conditions

avatar image svenneve Mar 04 '16 at 01:25 PM

Did you ever figure out what caused it? because we are having the same problem with level streams now as well since switching from 4.10.2 to 4.10.4

avatar image etayrienwork Mar 04 '16 at 05:22 PM

Nope, no luck yet. I'll be sure to post back here if I make any headway.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question