-
카테고리
-
세부 분야
게임 프로그래밍
-
해결 여부
미해결
강사님.. 도와주세요 ㅠㅠ
21.02.09 00:53 작성 조회수 1.16k
0
구매한 에셋의 샘플씬을 Town으로 만들었더니
Could not create a custom UI for the shader 'TriForge/TreeLod'. The shader has the following: 'CustomEditor = ASEMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
이런 오류가 계속 뜹니다 ㅠ
구글에도 검색해보고 유니티 까페도 검색해봤는데 도무지 뭘 어떻게 해야될지 모르겠습니다 ㅠ
답변을 작성해보세요.
1
Rookiss
지식공유자2021.02.09
https://forum.unity.com/threads/customer-shadergui-warning-only-on-package-import.310841/
-
#if UNITY_EDITOR
-
using UnityEditor;
-
#endif
-
-
#if UNITY_EDITOR
-
public class ImperialFurShaderGUI : ShaderGUI
-
{
-
// my shader ui code
-
}
-
#endif
커스텀 쉐이더 스크립트 쪽의 충돌이 있는 것 같은데 위와 같이
코드를 추가해도 수정이 안 되면
프로젝트 압축후 rookiss@naver.com로 보내주시면 내일쯤 살펴보겠습니다.
0
꾸룽꾸룽
질문자2021.02.09
알려주신 방법으로는 제가 잘못했던건지.. 안되기에
이것저것 해보다가
CustomEditor "ASEMaterialInspector"
이것을 지우니 오류는 더이상 나오지 않고있습니다!
지워도 괜찮은지 모르겠지만 그래도 오류는 사라졌습니다!! 늦은시간에 답변 감사합니다 편안한밤 보내세요!
답변 2