Hi
Please can you help me get Behaviour Designer (from source) working with Unity's Assembly Definition Files.
The problem is `BehaviorDesignerEditor.dll` has a dependency on `Assembly-CSharp-firstpass` assembly. The ideal for asmdefs use is no 'Unity default' assemblies. After one adds an asmdef to BD's plugins directory, the symbols that BehaviorDesignerEditor wants are in the new assembly anyway (not in firstpass). It produces 1 completely counter-intuitive error message (*1 below) which is actually caused by an earlier message that maybe only appears in the Editor.log (*2).
I've attached a zip of the 3 asmdefs which includes their paths for your convenience. Simply create a new Unity project, install BD from source then unzip atop (3 asmdefs + meta).
Many thanks in advance, Rupert.
*1:
*2:
Please can you help me get Behaviour Designer (from source) working with Unity's Assembly Definition Files.
The problem is `BehaviorDesignerEditor.dll` has a dependency on `Assembly-CSharp-firstpass` assembly. The ideal for asmdefs use is no 'Unity default' assemblies. After one adds an asmdef to BD's plugins directory, the symbols that BehaviorDesignerEditor wants are in the new assembly anyway (not in firstpass). It produces 1 completely counter-intuitive error message (*1 below) which is actually caused by an earlier message that maybe only appears in the Editor.log (*2).
I've attached a zip of the 3 asmdefs which includes their paths for your convenience. Simply create a new Unity project, install BD from source then unzip atop (3 asmdefs + meta).
Many thanks in advance, Rupert.
*1:
Code:
Assets/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs(13,62): error CS0012: The type `BehaviorDesigner.Runtime.Tasks.ObjectDrawerAttribute' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
(Filename: Assets/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs Line: 13)
*2:
Code:
FileNotFoundException: Could not load file or assembly 'Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
(Filename: Line: -1)
The following assembly referenced from D:\Users\User\Dev\Unity3D\TmpBDAsmDefExp\Assets\Behavior Designer\Editor\BehaviorDesignerEditor.dll could not be loaded:
Assembly: Assembly-CSharp-firstpass (assemblyref_index=2)
Version: 0.0.0.0
Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (D:\Users\User\Dev\Unity3D\TmpBDAsmDefExp\Assets\Behavior Designer\Editor\).
Could not load file or assembly 'Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.