Unity - A计划(永久有效期) 扫二维码继续学习 二维码时效为半小时

(197评价)
价格: 4431.00元
关于behaviour designer的问题
吴文博发起了问答2017-04-13
1
回复
760
浏览

一运行就出现这样的错误,但给敌人的巡逻等功能能正常执行。

CreateInstanceFromType is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'BehaviorDesignerWindow'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.ScriptableObject:CreateInstance()
BehaviorDesigner.Editor.BehaviorDesignerWindow:.ctor()
UnityEditor.EditorWindow:GetWindow(Boolean, String)
BehaviorDesigner.Editor.BehaviorDesignerWindow:ShowWindow()
BehaviorDesigner.Editor.BehaviorInspector:DrawInspectorGUI(Behavior, SerializedObject, Boolean, Boolean&, Boolean&, Boolean&)
BehaviorDesigner.Editor.BehaviorInspector:OnInspectorGUI()
UnityEditor.DockArea:OnGUI()

 

所有回复
  • siki 2017-04-13

    unity的版本跟插件版本不兼容的 使用插件对应的版本哈,在插件的官网或者assetstore可以看到插件兼容的版本

    还有-5条回复,点击查看
    你还没有登录,请先登录注册
发表回复
你还没有登录,请先 登录或 注册!