Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Extremely long "Build Planner" loop

Discussion in 'AI & Navigation Previews' started by Thunderik, Aug 6, 2020.

  1. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    33
    Hi,

    after testing my plan once or twice and making some changes, I sometimes end up in a loop where it seems to be stuck for several minutes seemingly doing the following actions:
    - Plan assembly compilation
    - Refresh Planner database

    as shown in the gif below.

    I checked my editor.log and at the bottom I see the following error

    error CS2012: Cannot open '...\Temp\PlannerAssembly\AI.Planner.Custom.dll' for writing -- 'The requested operation cannot be performed on a file with a user-mapped section open'

    Is there something I can do to workaround this? Any help is greatly appreciated!
     

    Attached Files:

  2. TrevorUnity

    TrevorUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    119
    What version of the package and Unity are you using?
     
  3. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    33
    Hi!

    preview.1 - 0.2.3
     
  4. TrevorUnity

    TrevorUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    119
    Hmmm. Well, we haven't encountered that particular error. Perhaps try closing Unity and your code editor, then delete your project Library folder, then relaunch Unity and try again.
     
  5. santadiego

    santadiego

    Joined:
    Aug 31, 2014
    Posts:
    27
    Always does this for me. just accepted it as alpha builds.. on all my systems. people are not reporting it??
     
    Thunderik likes this.
  6. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    33
    Hi, thanks for the response TrevorUnity and for chiming in santadiego. I haven't had the time to try deleting my Library folder and because of this issue, I started investigating other routes instead. I know that this is still quite early in development, at least that's what it feels like, and I really hope and look forward to seeing a more developer-friendly version in the future.

    Is there any more information I can contribute with to help you with this except for trying out your suggested solution?
     
  7. TrevorUnity

    TrevorUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    119
    I should be clear. Long code generation/compilation times have been reported, but the particular user error of 'The requested operation cannot be performed on a file with a user-mapped section open' has not.
     
    Thunderik likes this.