Greetings.
I am unable to launch my Unreal project anymore. This is what happened.
-
Project compiled and ran just fine. No errors.
-
Imported a .csv using DataTables just fine. Created the proper structure.
-
Added the following code:
UDataTable* ImportTable; static ConstructorHelpers::FObjectFinder<UDataTable> ImportTable_BP(TEXT("DataTable'/Content/CoreData/test.test'")); ImportTable= ImportTable_BP.Object;
-
Recompiled. Everything is fine.
-
Added the following code directly under the constructor:
int32 maxItems = ImportTable->GetTableData().Num();
-
This caused a crash. Commented out the above code and compiled in Visual Studio 2015.
-
Attempted to open up the project in Unreal and received the following:
Access violation - code c0000005 (first/second chance not available)
UE4Editor_Engine!UDataTable::GetColumnTitles() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\datatable.cpp:465]
UE4Editor_Engine!UDataTable::GetTableData() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\datatable.cpp:493]
- Commented out all references to the DataTables. Attempted to compile and received:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ““C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” … Win64 Development “…” -rocket -waitmutex” exited with code -1.
- Did clean rebuilds, regenerated project files, recompiled, etc. Still receive the same errors.
As it stands right now, I literally cannot open my project without it crashing, even though there is no reference in my code at all to datatables. I still receive access violations. At this point, I really just want to get my project back.
What is going on here? Any help is appreciated. Thank you.