I am using 2019.3.15, I rebooted my machine and the errors went away which didnt really make sense to me since restarting Unity several times didnt fix the issue. I will post again if the errors resurface for me.
Here is another seemingly related error, its preventing BD from working when I hit play so i am stuck like chuck :)
ArgumentException: Getting control 1's position in a group with only 1 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at...
No idea why. If i close unity and reopen the project the error pops back up almost immediately
OutOfMemoryException: Out of memory
System.Array.CreateInstance (System.Type elementType, System.Int32[] lengths) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Array.CreateInstance (System.Type...
When I assign the value in the editor through my script and then hit play it still remains at 0. Any ideas there? Or do I just need to have it assign at runtime only? What is strange is it will update to 20 after i hover on it, but then for some reason it just reverts back to 0 if i click...
Here is a simplified version of the code producing the issue:
public class NPCController : MonoBehaviour
{
[ReadOnly] [SerializeField] protected float loseInterestDistance;
protected SharedFloat loseInterestDistanceBT;
InEditorInspectorButtonMethod()
{
behaviorTree =...
One more follow-up question, is there a way to create new variables in the main variables tab from code within a task? I am wanting to create an initialization task that sets up common variables that would be placed at the root of each tree. and if so what would the syntax difference be to...
sorry never got this sorted, I dont think I explained it correctly. In the Variables tab area say I have a variable called Target that is a sharedGameObject. If you have a task that takes a sharedGameObject called objectToUse, you can click in that task's Inspector window, and to the right of...
To convert the existing navmesh based tasks to A* do we just need to derive from IAstarAIMovement instead of NavMeshMovement and the methods and properties are the same?
I have created a shared list variable called SharedAttackEvent which has several properties one of which is a float called attackProbability. In a new Task I have created a SharedAttackEvent attackEvents and in OnStart() I am trying to iterate through all of the attackEvents in the list to add...
I have a list in an external script that I need to initially copy to a behaviorTree shared list variable on Start, and then keep them in sync if something from the list changes during runtime in the external script. It would be one directional from the external list to the BT shared list. I...