Search Unity

Fixed an error from il2cpp with chkdsk

Discussion in 'Editor & General Support' started by G3258, Sep 15, 2021.

  1. G3258

    G3258

    Joined:
    Sep 15, 2021
    Posts:
    1
    Not sure where to post this since this isn't a bug, but feel like I should tell someone about this in case this strange mess happens to someone else.

    My computer bluescreen-ed while building a project, probably because of an unstable overclock.
    Afterwards, my project had trouble compiling.
    Initially it would complain that a dll already existed inside of
    Temp\StagingArea\<ProjectName>_Data\Plugins\x86_64

    I tried deleting the Temp directory and the error changed to something about "GameAssembly.pdb" not being found while copying it.
    Building with the "Copy PDB Files" setting enabled would allow building to complete, but running the executable would only show a window that read "failed to load il2cpp"

    I updated Visual Studio 2017 to the latest version and rebooted my computer.
    Finally, Unity gave me the error below:
    Code (csharp):
    1. Exception: C:\Program Files\Unity\Hub\Editor\2019.4.30f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
    2.  
    3. Failed running "C:\Program Files\Unity\Hub\Editor\2019.4.30f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe" --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x64" --configuration="ReleasePlus" --outputpath="C:\Users\Hash\Unity Projects\HashCam_CRP\Temp/StagingArea/Data\Native\GameAssembly.dll" --cachedirectory="C:\Users\Hash\Unity Projects\HashCam_CRP\Assets\..\Library/il2cpp_cache" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.4.30f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/Hash/Unity Projects/HashCam_CRP/Temp/StagingArea/Data/Managed" --generatedcppdir="C:/Users/Hash/Unity Projects/HashCam_CRP/Temp/StagingArea/Data/il2cppOutput"
    4.  
    5. stdout:
    6. Building GameAssembly.dll with MsvcDesktopToolChain
    7.     Msvc Install Version: 15.0
    8.     Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
    9.     Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe
    10.     Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe
    11.  
    12.     Output directory: C:\Users\Hash\Unity Projects\HashCam_CRP\Temp\StagingArea\Data\Native
    13.     Cache directory: C:\Users\Hash\Unity Projects\HashCam_CRP\Library\il2cpp_cache
    14. ObjectFiles: 201 of which compiled: 201
    15.     Time Compile: 4020 milliseconds Lump_libil2cpp_os.cpp
    16.     Time Compile: 2586 milliseconds Lump_libil2cpp_vm.cpp
    17.     Time Compile: 1965 milliseconds Lump_libil2cpp_icalls.cpp
    18.     Time Compile: 1758 milliseconds Il2CppCompilerCalculateTypeValues1.cpp
    19.     Time Compile: 1537 milliseconds Il2CppCompilerCalculateTypeValues.cpp
    20.     Time Compile: 1474 milliseconds Il2CppInvokerTable.cpp
    21.     Time Compile: 1463 milliseconds Il2CppAttributes.cpp
    22.     Time Compile: 1302 milliseconds Lump_libil2cpp_mono.cpp
    23.     Time Compile: 1177 milliseconds mscorlib9.cpp
    24.     Time Compile: 1169 milliseconds mscorlib4.cpp
    25. Total compilation time: 15056 milliseconds.
    26. il2cpp.exe didn't catch exception: System.IO.IOException: The directory is not empty.
    27.  
    28.   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    29.   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
    30.   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
    31.   at NiceIO.NPath.Delete(DeleteMode deleteMode)
    32.   at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
    33.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    34.   at il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    35.   at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    36.   at il2cpp.Program.Main(String[] args)
    37. stderr:
    38.  
    39. Unhandled Exception: System.IO.IOException: The directory is not empty.
    40.  
    41.   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    42.   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
    43.   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
    44.   at NiceIO.NPath.Delete(DeleteMode deleteMode)
    45.   at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
    46.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    47.   at il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    48.   at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    49.   at il2cpp.Program.Main(String[] args)
    50.  
    51. UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    52. UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    53. UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    54. UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    55. UnityEditorInternal.IL2CPPBuilder.Run () (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    56. UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    57. DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    58. DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    59. Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    60. DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    61. UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    62. UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <fdb4e7a229ae4ef791f6716e71e93744>:0)
    63. UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
    Seeing that il2cpp was having trouble deleting a file, I decided to try deleting the files myself.
    Strangely, explorer simply skipped deleting a few folders.
    When I tried to do it through the command line, rmdir complained that "The directory is not empty" which was very strange because I had told it to delete everything inside the folder anyways, and also very interesting because it used the same wording as the error log.

    I ran chkdsk after that which resulted in the following:
    Code (csharp):
    1.  
    2. C:\Windows\system32>chkdsk
    3. The type of the file system is NTFS.
    4.  
    5. WARNING!  /F parameter not specified.
    6. Running CHKDSK in read-only mode.
    7.  
    8. Stage 1: Examining basic file system structure ...
    9.   2928896 file records processed.
    10. File verification completed.
    11.  Phase duration (File record verification): 12.46 seconds.
    12.   13429 large file records processed.
    13.  Phase duration (Orphan file record recovery): 0.00 milliseconds.
    14.   0 bad file records processed.
    15.  Phase duration (Bad file record checking): 0.19 milliseconds.
    16.  
    17. Stage 2: Examining file name linkage ...
    18.   1935 reparse records processed.
    19. Index entry GAMEAS~1.EXP in index $I30 of file 7110 is incorrect.
    20. Index entry GAMEAS~1.LIB in index $I30 of file 7110 is incorrect.
    21. Index entry UNITYC~1.EXE in index $I30 of file 8E1D is incorrect.
    22. Index entry UNITYP~1.DLL in index $I30 of file 8E1D is incorrect.
    23. Index entry APP~1.INF in index $I30 of file 96CF is incorrect.
    24. Index entry nvngx_update.exe.4472.dmp in index $I30 of file 15DA80 is incorrect.
    25. Index entry NVNGX_~2.DMP in index $I30 of file 15DA80 is incorrect.
    26. Index entry LNK{E1~1.TMP in index $I30 of file 16CE3F is incorrect.
    27. Index entry TMP10E~1.TMP in index $I30 of file 16CE3F is incorrect.
    28. Index entry TMP143~1.TMP in index $I30 of file 16CE3F is incorrect.
    29. Index entry UNITYD~1 in index $I30 of file 1C8D5A is incorrect.
    30. Index entry RESOUR~1 in index $I30 of file 1C8D74 is incorrect.
    31. Index entry RESOUR~1.ASS in index $I30 of file 1C8D74 is incorrect.
    32. Index entry RESOUR~1.RES in index $I30 of file 1C8D74 is incorrect.
    33. Index entry SHARED~1.ASS in index $I30 of file 1C8D74 is incorrect.
    34. Index entry SHARED~1.RES in index $I30 of file 1C8D74 is incorrect.
    35. Index entry UN08CC~1.PDB in index $I30 of file 1C8D7D is incorrect.
    36. Index entry UN140F~1.DLL in index $I30 of file 1C8D7D is incorrect.
    37. Index entry UN566D~1.DLL in index $I30 of file 1C8D7D is incorrect.
    38. Index entry UN591E~1.PDB in index $I30 of file 1C8D7D is incorrect.
    39. Index entry UN752F~1.DLL in index $I30 of file 1C8D7D is incorrect.
    40. Index entry UN824A~1.DLL in index $I30 of file 1C8D7D is incorrect.
    41. Index entry UNAC45~1.DLL in index $I30 of file 1C8D7D is incorrect.
    42. Index entry UND07F~1.PDB in index $I30 of file 1C8D7D is incorrect.
    43. Index entry UND0A6~1.PDB in index $I30 of file 1C8D7D is incorrect.
    44. Index entry UNF840~1.PDB in index $I30 of file 1C8D7D is incorrect.
    45. Index entry ASSEMB~1.DLL in index $I30 of file 1E178F is incorrect.
    46. Index entry ASSEMB~1.PDB in index $I30 of file 1E178F is incorrect.
    47. Index entry EDITOR~1.JSO in index $I30 of file 1E178F is incorrect.
    48. Index entry KTOOLS~1.DLL in index $I30 of file 1E178F is incorrect.
    49. Index entry KTOOLS~1.PDB in index $I30 of file 1E178F is incorrect.
    50. Index entry MONOSE~1.DLL in index $I30 of file 1E178F is incorrect.
    51. Index entry SYSTEM~1.DLL in index $I30 of file 1E178F is incorrect.
    52. Index entry SYSTEM~2.DLL in index $I30 of file 1E178F is incorrect.
    53. Index entry SYSTEM~3.DLL in index $I30 of file 1E178F is incorrect.
    54. Index entry TYPESI~1.XML in index $I30 of file 1E178F is incorrect.
    55. Index entry UDD-EX~1.DLL in index $I30 of file 1E178F is incorrect.
    56. Index entry UDD-EX~1.PDB in index $I30 of file 1E178F is incorrect.
    57. Index entry UDD-SC~1.DLL in index $I30 of file 1E178F is incorrect.
    58. Index entry UDD-SC~1.PDB in index $I30 of file 1E178F is incorrect.
    59. Index entry UN01FD~1.DLL in index $I30 of file 1E178F is incorrect.
    60. Index entry UN049E~1.PDB in index $I30 of file 1E178F is incorrect.
    61. Index entry UN0978~1.PDB in index $I30 of file 1E178F is incorrect.
    62. Index entry UN0BD5~1.DLL in index $I30 of file 1E178F is incorrect.
    63. Index entry UN1042~1.PDB in index $I30 of file 1E178F is incorrect.
    64. Index entry UN140F~1.DLL in index $I30 of file 1E178F is incorrect.
    65. Index entry UN1835~1.DLL in index $I30 of file 1E178F is incorrect.
    66. Index entry UN1BE5~1.PDB in index $I30 of file 1E178F is incorrect.
    67. Index entry UN2189~1.PDB in index $I30 of file 1E178F is incorrect.
    68. Index entry UN2680~1.DLL in index $I30 of file 1E178F is incorrect.
    69. Index entry UN2833~1.PDB in index $I30 of file 1E178F is incorrect.
    70. Index entry UN2E3F~1.DLL in index $I30 of file 1E178F is incorrect.
    71. Index entry UN2FD0~1.DLL in index $I30 of file 1E178F is incorrect.
    72. Index entry UN3060~1.PDB in index $I30 of file 1E178F is incorrect.
    73. Index entry UN3994~1.PDB in index $I30 of file 1E178F is incorrect.
    74. Index entry UN3B9E~1.DLL in index $I30 of file 1E178F is incorrect.
    75. Index entry UN4141~1.DLL in index $I30 of file 1E178F is incorrect.
    76. Index entry UN4213~1.DLL in index $I30 of file 1E178F is incorrect.
    77. Index entry UN423F~1.DLL in index $I30 of file 1E178F is incorrect.
    78. Index entry UN4483~1.PDB in index $I30 of file 1E178F is incorrect.
    79. Index entry UN4AA4~1.PDB in index $I30 of file 1E178F is incorrect.
    80. Index entry UN52C3~1.DLL in index $I30 of file 1E178F is incorrect.
    81. Index entry UN544D~1.DLL in index $I30 of file 1E178F is incorrect.
    82. Index entry UN566D~1.DLL in index $I30 of file 1E178F is incorrect.
    83. Index entry UN590B~1.PDB in index $I30 of file 1E178F is incorrect.
    84. Index entry UN591E~1.PDB in index $I30 of file 1E178F is incorrect.
    85. Index entry UN631E~1.DLL in index $I30 of file 1E178F is incorrect.
    86. Index entry UN6E67~1.DLL in index $I30 of file 1E178F is incorrect.
    87. Index entry UN7668~1.DLL in index $I30 of file 1E178F is incorrect.
    88. Index entry UN7C64~1.PDB in index $I30 of file 1E178F is incorrect.
    89. Index entry UN7D06~1.PDB in index $I30 of file 1E178F is incorrect.
    90. Index entry UN7D47~1.DLL in index $I30 of file 1E178F is incorrect.
    91. Index entry UN824A~1.DLL in index $I30 of file 1E178F is incorrect.
    92. Index entry UN85F4~1.PDB in index $I30 of file 1E178F is incorrect.
    93. Index entry UN9064~1.PDB in index $I30 of file 1E178F is incorrect.
    94. Index entry UN9640~1.PDB in index $I30 of file 1E178F is incorrect.
    95. Index entry UN9828~1.PDB in index $I30 of file 1E178F is incorrect.
    96. Index entry UN9F66~1.PDB in index $I30 of file 1E178F is incorrect.
    97. Index entry UNAC45~1.DLL in index $I30 of file 1E178F is incorrect.
    98. Index entry UNB852~1.DLL in index $I30 of file 1E178F is incorrect.
    99. Index entry UNBD97~1.DLL in index $I30 of file 1E178F is incorrect.
    100. Index entry UNCF44~1.PDB in index $I30 of file 1E178F is incorrect.
    101. Index entry UND07F~1.PDB in index $I30 of file 1E178F is incorrect.
    102. Index entry UND0A6~1.PDB in index $I30 of file 1E178F is incorrect.
    103. Index entry UND1B0~1.PDB in index $I30 of file 1E178F is incorrect.
    104. Index entry UND32A~1.DLL in index $I30 of file 1E178F is incorrect.
    105. Index entry UND75B~1.PDB in index $I30 of file 1E178F is incorrect.
    106. Index entry UNE13B~1.DLL in index $I30 of file 1E178F is incorrect.
    107. Index entry UNE475~1.DLL in index $I30 of file 1E178F is incorrect.
    108. Index entry UNE4C3~1.DLL in index $I30 of file 1E178F is incorrect.
    109. Index entry UNF3ED~1.PDB in index $I30 of file 1E178F is incorrect.
    110. Index entry UNF840~1.PDB in index $I30 of file 1E178F is incorrect.
    111. Index entry UNFB7F~1.DLL in index $I30 of file 1E178F is incorrect.
    112. Index entry UNFCE0~1.PDB in index $I30 of file 1E178F is incorrect.
    113. Index entry UNITYE~1.DLL in index $I30 of file 1E178F is incorrect.
    114. Index entry UNITYE~1.PDB in index $I30 of file 1E178F is incorrect.
    115. Index entry UNITYE~4.DLL in index $I30 of file 1E178F is incorrect.
    116. Index entry UNITYE~4.PDB in index $I30 of file 1E178F is incorrect.
    117. Index entry UNITYL~1.JSO in index $I30 of file 1E178F is incorrect.
    118. Index entry UNITYP~1.DLL in index $I30 of file 1E178F is incorrect.
    119. Index entry UNITYP~1.PDB in index $I30 of file 1E178F is incorrect.
    120. Index entry UNITYR~1.DLL in index $I30 of file 1E178F is incorrect.
    121. Index entry UNITYR~1.PDB in index $I30 of file 1E178F is incorrect.
    122. Index entry UNITYR~3.DLL in index $I30 of file 1E178F is incorrect.
    123. Index entry UNITYR~3.PDB in index $I30 of file 1E178F is incorrect.
    124. Index entry UNITYR~4.DLL in index $I30 of file 1E178F is incorrect.
    125. Index entry UNITYR~4.PDB in index $I30 of file 1E178F is incorrect.
    126. Index entry ASSEMB~1.C in index $I30 of file 1E17D6 is incorrect.
    127. Index entry IL1F4D~1.C in index $I30 of file 1E17D6 is incorrect.
    128. Index entry IL2CPP~1.C in index $I30 of file 1E17D6 is incorrect.
    129. Index entry IL2CPP~2.C in index $I30 of file 1E17D6 is incorrect.
    130. Index entry IL2CPP~3.C in index $I30 of file 1E17D6 is incorrect.
    131. Index entry IL2CPP~3.CPP in index $I30 of file 1E17D6 is incorrect.
    132. Index entry IL2CPP~4.C in index $I30 of file 1E17D6 is incorrect.
    133. Index entry IL2CPP~4.CPP in index $I30 of file 1E17D6 is incorrect.
    134. Index entry IL33AD~1.CPP in index $I30 of file 1E17D6 is incorrect.
    135. Index entry IL7C40~1.CPP in index $I30 of file 1E17D6 is incorrect.
    136. Index entry IL7EF1~1.CPP in index $I30 of file 1E17D6 is incorrect.
    137. Index entry ILA02A~1.CPP in index $I30 of file 1E17D6 is incorrect.
    138. Index entry ILAC8B~1.CPP in index $I30 of file 1E17D6 is incorrect.
    139. Index entry ILAF2F~1.C in index $I30 of file 1E17D6 is incorrect.
    140. Index entry ILB313~1.C in index $I30 of file 1E17D6 is incorrect.
    141. Index entry ILCE58~1.CPP in index $I30 of file 1E17D6 is incorrect.
    142. Index entry ILD5C4~1.CPP in index $I30 of file 1E17D6 is incorrect.
    143. Index entry KTOOLS~1.C in index $I30 of file 1E17D6 is incorrect.
    144. Index entry LUMPED~1 in index $I30 of file 1E17D6 is incorrect.
    145. Index entry UDD-EX~1.C in index $I30 of file 1E17D6 is incorrect.
    146. Index entry UDD-SC~1.C in index $I30 of file 1E17D6 is incorrect.
    147. Index entry UN07C1~1.C in index $I30 of file 1E17D6 is incorrect.
    148. Index entry UN142A~1.C in index $I30 of file 1E17D6 is incorrect.
    149. Index entry UN1647~1.C in index $I30 of file 1E17D6 is incorrect.
    150. Index entry UN25E3~1.C in index $I30 of file 1E17D6 is incorrect.
    151. Index entry UN34D8~1.C in index $I30 of file 1E17D6 is incorrect.
    152. Index entry UN4716~1.C in index $I30 of file 1E17D6 is incorrect.
    153. Index entry UN4766~1.C in index $I30 of file 1E17D6 is incorrect.
    154. Index entry UN526B~1.C in index $I30 of file 1E17D6 is incorrect.
    155. Index entry UN577E~1.C in index $I30 of file 1E17D6 is incorrect.
    156. Index entry UN5FD1~1.C in index $I30 of file 1E17D6 is incorrect.
    157. Index entry UN612C~1.C in index $I30 of file 1E17D6 is incorrect.
    158. Index entry UN6D79~1.C in index $I30 of file 1E17D6 is incorrect.
    159. Index entry UN700E~1.CPP in index $I30 of file 1E17D6 is incorrect.
    160. Index entry UN88CC~1.C in index $I30 of file 1E17D6 is incorrect.
    161. Index entry UN9436~1.C in index $I30 of file 1E17D6 is incorrect.
    162. Index entry UN9ADB~1.C in index $I30 of file 1E17D6 is incorrect.
    163. Index entry UNABCE~1.C in index $I30 of file 1E17D6 is incorrect.
    164. Index entry UNB6EB~1.C in index $I30 of file 1E17D6 is incorrect.
    165. Index entry UNBE36~1.C in index $I30 of file 1E17D6 is incorrect.
    166. Index entry UND3AE~1.C in index $I30 of file 1E17D6 is incorrect.
    167. Index entry UNDE9A~1.C in index $I30 of file 1E17D6 is incorrect.
    168. Index entry UNE094~1.C in index $I30 of file 1E17D6 is incorrect.
    169. Index entry UNF263~1.C in index $I30 of file 1E17D6 is incorrect.
    170. Index entry UNFB70~1.C in index $I30 of file 1E17D6 is incorrect.
    171. Index entry UNITYP~1.C in index $I30 of file 1E17D6 is incorrect.
    172. Index entry UNITYR~1.C in index $I30 of file 1E17D6 is incorrect.
    173. Index entry UNITYR~2.C in index $I30 of file 1E17D6 is incorrect.
    174. Index entry UNITYR~3.C in index $I30 of file 1E17D6 is incorrect.
    175.   3549972 index entries processed.
    176. Index verification completed.
    177.  Phase duration (Index verification): 50.46 seconds.
    178.  
    179. Errors found.  CHKDSK cannot continue in read-only mode.
    And now after running chkdsk /F and rebooting, the project builds just fine.
    I hope that helps someone out in the future.
    Thanks for reading.