AngryAnt/Behave-release — Issue #32: Editor warning on 3.5b2
Author: ricardojmendez
Created: 2011-11-16 19:16:09+00:00
State: open

When using the 3.5b2 version of Behave, Unity spits out the following warning:

*BehaveEditor must be instantiated using the ScriptableObject.CreateInstance method instead of new BehaveEditor.
UnityEngine.ScriptableObject:.ctor()
BehaveEditor:.ctor()
BehaveMenu:get_EditorInstance() (at Assets/Behave/Editor/BehaveMenu.cs:184)
BehaveMenu:EditLibraryAsset(BehaveAsset) (at Assets/Behave/Editor/BehaveMenu.cs:195)
BehaveMenu:EditLibrary() (at Assets/Behave/Editor/BehaveMenu.cs:19)
BehaveAssetEditor:Update() (at Assets/Behave/Editor/BehaveAssetEditor.cs:32)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()*

Easy enough to fix locally, but should be fixed on the main.