diff --git a/D3D12Backend/Containers/Streaming/SceneDataReader.cpp b/D3D12Backend/Containers/Streaming/SceneDataReader.cpp index c5c0e2d..7f096ad 100644 --- a/D3D12Backend/Containers/Streaming/SceneDataReader.cpp +++ b/D3D12Backend/Containers/Streaming/SceneDataReader.cpp @@ -25,6 +25,7 @@ namespace Boolka CombinePath(folderPath, BLK_SCENE_HEADER_FILENAME, headerFile); m_Header = DebugFileReader::ReadFile(headerFile.c_str()); + BLK_CRITICAL_ASSERT(m_Header.m_Data); unsigned char* data = static_cast(m_Header.m_Data);