Miku-LuaProfiler
Miku-LuaProfiler copied to clipboard
弄的Server那个工程打开window就报错
NullReferenceException: Object reference not set to an instance of an object
MikuLuaProfiler.GuiSkinManager+GuiStyleManager..ctor () (at Assets/LuaProfilerServer/Assets/Editor/Skin/GuiSkinManager.cs:107)
MikuLuaProfiler.GuiSkinManager.get_Styles () (at Assets/LuaProfilerServer/Assets/Editor/Skin/GuiSkinManager.cs:200)
MikuLuaProfiler.LuaProfilerWindow.DoChart () (at Assets/LuaProfilerServer/Assets/Editor/TreeView/LuaProfilerWindow.cs:504)
MikuLuaProfiler.LuaProfilerWindow.OnGUI () (at Assets/LuaProfilerServer/Assets/Editor/TreeView/LuaProfilerWindow.cs:189)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at
直接用Unity 5.6以上版本打开 LuaProfilerServer 即可...
@pl01898759 看了下第107行代码Assets/LuaProfilerServer/Assets/Editor/Skin/GuiSkinManager.cs:107
资源加载导致的报错,建议@pl01898759看下你本地工程的资源路径对不对,同时GUISkin是否引用了Font

用最新的代码