The attached project is now crashing after being upgraded from 4.10.4 to 4.11.2. This crash also occurs when attempting to open a copy of the project in 4.12 Preview 1.
After further investigation, this crash seems to be resolved by removing tutorialmap.umap from the Content->ShooterNetwork->Maps folder. Re-adding this map into the folder and attempting to open it after the project opens will cause the crash to occur again.
Source Context:
23 //UE_LOG(LogGenericPlatformString, Warning, TEXT("Bad chars found when trying to convert \"%s\" from %s to %s"), *SrcStr, SourceCharName, DestCharName); 24 } 25 } 26 27 template <typename DestEncoding, typename SourceEncoding> 28 void FGenericPlatformString::LogBogusChars(const SourceEncoding* Src, int32 SrcSize) 29 { 30 FString SrcStr; 31 bool bFoundBogusChars = false; 32 for (; SrcSize; --SrcSize) 33 { 34 SourceEncoding SrcCh = *Src++; 35 if (!CanConvertChar<DestEncoding>(SrcCh)) 36 { 37 ***** SrcStr += FString::Printf(TEXT("[0x%X]"), (int32)SrcCh); 38 bFoundBogusChars = true; 39 } 40 else if (CanConvertChar<TCHAR>(SrcCh)) 41 { 42 if (TChar<SourceEncoding>::IsLinebreak(SrcCh)) 43 { 44 if (bFoundBogusChars) 45 { 46 TrimStringAndLogBogusCharsError(SrcStr, GetEncodingTypeName<SourceEncoding>(), GetEncodingTypeName<DestEncoding>()); 47 bFoundBogusChars = false; 48 } 49 SrcStr.Empty(); 50 } 51 else 52 {
1. Download the project from: [Link Removed]
2. Open the project
Alternate
1. Download the project from: [Link Removed]
2. Go into the project folder->Content->ShooterNetwork->Maps and remove (move it to desktop) the tutorialMap.umap
3. Open the project
4. Re-add tutorialMap.umap to the folder
5. Open the map in the editor
Result: Editor Crashes
Expected: No crash would occur
Error Message
Access violation - code c0000005 (first/second chance not available)
VCRUNTIME140!<Unknown> UE4Editor_Core!FGenericPlatformString::LogBogusChars<wchar_t,char>() genericplatformstring.cpp:38 UE4Editor_Core!operator<<() string.cpp:1088 UE4Editor_Core!operator<<() array.h:1308 UE4Editor_Core!operator<<() text.cpp:1150 UE4Editor_CoreUObject!UTextProperty::SerializeItem() utextproperty.cpp:45 UE4Editor_CoreUObject!FPropertyTag::SerializeTaggedProperty() propertytag.h:145 UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() class.cpp:1354 UE4Editor_Engine!UUserDefinedStruct::SerializeTaggedProperties() userdefinedstruct.cpp:201 UE4Editor_CoreUObject!UScriptStruct::SerializeItem() class.cpp:2281 UE4Editor_CoreUObject!FPropertyTag::SerializeTaggedProperty() propertytag.h:145 UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() class.cpp:1354 UE4Editor_CoreUObject!UObject::SerializeScriptProperties() obj.cpp:994 UE4Editor_CoreUObject!UObject::Serialize() obj.cpp:933 UE4Editor_CoreUObject!FLinkerLoad::Preload() linkerload.cpp:3277 UE4Editor_CoreUObject!EndLoad() uobjectglobals.cpp:1383 UE4Editor_CoreUObject!LoadPackageInternal() uobjectglobals.cpp:1143 UE4Editor_CoreUObject!LoadPackageInternal() uobjectglobals.cpp:1258 UE4Editor_UnrealEd!UEditorEngine::Map_Load() editorserver.cpp:2392 UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() editorserver.cpp:5946 UE4Editor_UnrealEd!UEditorEngine::Exec() editorserver.cpp:5436 UE4Editor_UnrealEd!UUnrealEdEngine::Exec() unrealedsrv.cpp:744 UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() filehelpers.cpp:2070 UE4Editor_UnrealEd!FEditorFileUtils::LoadDefaultMapAtStartup() filehelpers.cpp:3283 UE4Editor_UnrealEd!FUnrealEdMisc::OnInit() unrealedmisc.cpp:299 UE4Editor_UnrealEd!EditorInit() unrealed.cpp:86 UE4Editor!GuardedMain() launch.cpp:133 UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 UE4Editor!WinMain() launchwindows.cpp:200 UE4Editor!__scrt_common_main_seh() exe_common.inl:264 kernel32!<Unknown> ntdll!<Unknown>
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.11, 4.12 |
Target Fix | 4.12 |
Created | May 3, 2016 |
---|---|
Resolved | May 5, 2016 |
Updated | Apr 27, 2018 |