level 3
晚安谢小姐
楼主
大佬,请问这个如何解决啊?unity版本是2022![[泪]](/static/emoticons/u6cea.png)
问题:使用魔法盒西西shader后,材质球给上粒子后变透明了,请问如何解决?
1.更换shader后,会出现黄色警告:
Could not create a custom UI for the shader 'XIXI/Add'. The shader has the following: 'CustomEditor = ShaderForgeMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
无法为着色器“XIXI/Add”创建自定义UI。着色器具有以下特性:“CustomEditor=ShaderForgeMaterialInspector”。指定的自定义编辑器是否包含其命名空间?该类是从ShaderGUI还是MaterialEditor派生的?
UnityEngine。GUI实用程序:ProcessEvent(int、intptr、bool&)
2.使用西西shader后,粒子局内贴图是透明的

3.百度后尝试将 shader最后一行注释掉,没有黄色警告了,但是贴图依旧是透明的。

2025年02月23日 15点02分
1
问题:使用魔法盒西西shader后,材质球给上粒子后变透明了,请问如何解决?
1.更换shader后,会出现黄色警告:
Could not create a custom UI for the shader 'XIXI/Add'. The shader has the following: 'CustomEditor = ShaderForgeMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
无法为着色器“XIXI/Add”创建自定义UI。着色器具有以下特性:“CustomEditor=ShaderForgeMaterialInspector”。指定的自定义编辑器是否包含其命名空间?该类是从ShaderGUI还是MaterialEditor派生的?
UnityEngine。GUI实用程序:ProcessEvent(int、intptr、bool&)
2.使用西西shader后,粒子局内贴图是透明的

3.百度后尝试将 shader最后一行注释掉,没有黄色警告了,但是贴图依旧是透明的。

