diff --git a/Assets/Scripts/GUI/LoadBackgroundImageButton.cs b/Assets/Scripts/GUI/LoadBackgroundImageButton.cs index 4998b7e65f..05aa19eaa7 100644 --- a/Assets/Scripts/GUI/LoadBackgroundImageButton.cs +++ b/Assets/Scripts/GUI/LoadBackgroundImageButton.cs @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +using System.IO; using UnityEngine; using UnityEngine.Localization; @@ -54,7 +55,10 @@ override protected void OnButtonPressed() } - SceneSettings.m_Instance.LoadCustomSkyboxFromCache(ReferenceImage.FilePath); + // TODO we had problems with seams when using the cached image. + // Likely related to mipmaps but I couldn't track down the cause. + // SceneSettings.m_Instance.LoadCustomSkyboxFromCache(ReferenceImage.FilePath); + SceneSettings.m_Instance.LoadCustomSkybox(Path.GetFileName(ReferenceImage.FilePath)); } override public void ResetState()