string pathToDefaultScene = $"{Application.streamingAssetsPath}/DefaultScene.crscene";
using (var stream = new FileStream(pathToDefaultScene , FileMode.Open))
{
stream.Read(sceneLengthBytes, 0, sizeof(int));
stream.Read(imageLengthBytes, 0, sizeof(int));
stream.Read(metadataLengthBytes, 0, sizeof(int));
var sceneLength = BitConverter.ToInt32(sceneLengthBytes, 0);
imageLength = BitConverter.ToInt32(imageLengthBytes, 0);
var metadataLength = BitConverter.ToInt32(metadataLengthBytes, 0);
sceneBytes = new byte[sceneLength];
imageBytes = new byte[imageLength];
metadataBytes = new byte[metadataLength];
stream.Read(sceneBytes, 0, sceneLength);
stream.Read(imageBytes, 0, imageLength);
stream.Read(metadataBytes, 0, metadataLength);
}