diff --git a/Assets/Scripts/Loading/Stage.cs b/Assets/Scripts/Loading/Stage.cs index 33af000e55caadf2c2c525baef82811e39a10cb6..33bb52e698a53f1022fb22a541f3ad2f6a268087 100644 --- a/Assets/Scripts/Loading/Stage.cs +++ b/Assets/Scripts/Loading/Stage.cs @@ -416,8 +416,16 @@ public static Dictionary<string, Stage> Grup(List<Directories> hierarchie = null if (file.Extension != ".JSON") continue; - if (ShallowLoad(out Stage tmp, file.FullName)) - ret.Add(tmp.name, tmp); + try + { + if (ShallowLoad(out Stage tmp, file.FullName)) + ret.Add(tmp.name, tmp); + } + catch (Exception ex) + { + Debug.LogError("Could not load StageFile: " + file.FullName); + Debug.LogException(ex); + } } return ret; diff --git a/Assets/Stages/CanonBall A.JSON.meta b/Assets/Stages/CanonBall A.JSON.meta index 8c4f2ddbfa99129fd9f45eebb93c457f4b183f32..a0d2e1ae5b25df5deb2a62b8e7b34ec8a10ce06f 100644 --- a/Assets/Stages/CanonBall A.JSON.meta +++ b/Assets/Stages/CanonBall A.JSON.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 9e6f77486fb9c93489d4fb803ade1379 +guid: db4a88d3caba4a8499fdb182c8187a06 TextScriptImporter: externalObjects: {} userData: