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. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
  3. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  4. 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
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

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:
    24
    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:
    113
    What version of the package and Unity are you using?
     
  3. Thunderik

    Thunderik

    Joined:
    Apr 28, 2020
    Posts:
    24
    Hi!

    preview.1 - 0.2.3
     
  4. TrevorUnity

    TrevorUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    113
    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:
    24
    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:
    113
    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.
unityunity