老师您好,我在学习BehaviorDesigner时,遇到如下两个问题:
1. 编辑面板打开时如下图所示,不能
拉伸,还会莫名其妙地消失,再也打不开。
2. 每次运行时,总会报错,但能正常运行,报错如下:
CreateScriptableObjectInstanceFromType is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'DockArea'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.ScriptableObject:CreateInstance()
BehaviorDesigner.Editor.BehaviorDesignerWindow:.ctor()
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
麻烦老师解答一下。谢谢。
同学你好,应该是插件比较老了,一些API不支持了,如果同学使用的是教程里的版本,应该是1.32,这里老师给同学一个比较新的版本1.55的,同学可以去测试一下:
链接:https://pan.baidu.com/s/1cKlmjd4I8aCk4vIbqLG-2g
提取码:tqxs