ERROR
Posts
18 posts[경고&에러 대응] `UnityEditor.EditorUtility' does not contain a definition for `GetAssetPreview'
....#if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 || UNITY_3_6 || UNITY_3_7 || UNITY_3_8 || UNITY_3_9) bodyPreview = (Texture2D)EditorUtility.GetAssetPreview(bodyObject);#else bodyPreview = (Texture2D)AssetPreview.GetAssetPreview(bodyObject);#endif ... #if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 ||
[경고&에러 대응] `UnityEditor.EditorWindow.title' is obsolete
title = "CustomWindow "; -> #if UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0 title = "CustomWindow "; #else titleContent = new GUIContent("CustomWindow "); #endif
[경고&에러 대응] `UnityEditor.EditorApplication.NewScene()' is obsolete
EditorApplication.SaveScene();EditorApplication.NewScene(); -> #if UNITY_2017_2_OR_NEWER //added for unity2017EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene());EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects);#elseEditorApplication.SaveScene();EditorApplication.NewScene();#endif
[경고&에러 대응] UnityEditor.EditorApplication.SaveScene(string)' is obsolete
EditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity"); -> #if UNITY_2017_2_OR_NEWER EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), "Assets/seven/Scene/BattleScene/" + sceneName + ".unity");#elseEditorApplication.SaveScene("Assets/seven/Scene/BattleScene/" + sceneName + ".unity");#endif


![[웹툰단행본] 『통제구역관리부』 1권 후기 : 이상한 변칙과 기이한 일들이 일어나는 공간에 대하여](https://img.zoomtrend.com/2026/06/09/1780996474-SE-5eda86fa-0d63-4afd-b8dd-b801879fed52.jpg)
