From ea1936fb26d3b6b33ee2f2affd5098212727936c Mon Sep 17 00:00:00 2001 From: Vitaly Popuzin <35366872+popuz@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:22:43 +0300 Subject: [PATCH] bumped cache version for landscape (#2515) ## What does this PR change? see title ## How to test the changes? check if [#2190](https://github.com/decentraland/unity-explorer/issues/2190) is fixed --- Explorer/Assets/DCL/Landscape/TerrainGenerator.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Explorer/Assets/DCL/Landscape/TerrainGenerator.cs b/Explorer/Assets/DCL/Landscape/TerrainGenerator.cs index 2b5c95df55..68a0a14021 100644 --- a/Explorer/Assets/DCL/Landscape/TerrainGenerator.cs +++ b/Explorer/Assets/DCL/Landscape/TerrainGenerator.cs @@ -16,7 +16,6 @@ using Unity.Jobs; using Unity.Mathematics; using UnityEngine; -using UnityEngine.Profiling; using Utility; using JobHandle = Unity.Jobs.JobHandle; @@ -28,7 +27,7 @@ public class TerrainGenerator : IDisposable, IContainParcel private const float ROOT_VERTICAL_SHIFT = -0.01f; // fix for not clipping with scene (potential) floor // increment this number if we want to force the users to generate a new terrain cache - private const int CACHE_VERSION = 7; + private const int CACHE_VERSION = 8; private const float PROGRESS_COUNTER_EMPTY_PARCEL_DATA = 0.1f; private const float PROGRESS_COUNTER_TERRAIN_DATA = 0.3f;