Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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


    Aug 11, 2015
    Got an error after importing.
    Code (CSharp):
    1. Library\PackageCache\\Runtime\Controller\BaseTraitBasedPlanExecutor.cs(114,91): error CS0117: 'ScriptBehaviourUpdateOrder' does not contain a definition for 'CurrentPlayerLoop'
    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.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.