Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug on import - AI Planner - 0.2.3-preview.1 May 06 2020 preview pkg avail for 2019.4.23f1(LTS)

Discussion in 'AI & Navigation Previews' started by dalessan9, Mar 30, 2021.

  1. dalessan9

    dalessan9

    Joined:
    Aug 11, 2015
    Posts:
    6
    Got an error after importing.
    Code (CSharp):
    1. Library\PackageCache\com.unity.ai.planner@0.2.3-preview.1\Runtime\Controller\BaseTraitBasedPlanExecutor.cs(114,91): error CS0117: 'ScriptBehaviourUpdateOrder' does not contain a definition for 'CurrentPlayerLoop'
    2.  
    I tried looking, but... ha ha noooo. The following is the part referenced by the error. It is also the only time it shows up in the file. How are you using things you don't even declare references to?
    Code (CSharp):
    1.             // Setup world
    2.             var world = new World($"{actor.name} {actor.GetInstanceID()}");
    3.             m_StateManager = world.GetOrCreateSystem<TStateManager>();
    4.             world.GetOrCreateSystem<SimulationSystemGroup>().AddSystemToUpdateList(m_StateManager);
    5.             ScriptBehaviourUpdateOrder.UpdatePlayerLoop(world, ScriptBehaviourUpdateOrder.CurrentPlayerLoop);
    In 2019(LTS), because 2020(LTS) needs to "Hold On", and fix its memory leak/ indefinite "Hold On" time/ constant need to "Hold On"/ etc.