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. Dismiss Notice

Bug Saving prefab: error access is denied

Discussion in 'Prefabs' started by unity_2jxHNVY36zr2mg, Nov 9, 2021.

  1. unity_2jxHNVY36zr2mg

    unity_2jxHNVY36zr2mg

    Joined:
    Jan 17, 2020
    Posts:
    86
    Unity 2020.3.22f1

    Really annoying access denied when saving large prefabs bug.
    upload_2021-11-9_15-9-49.png
     
  2. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    Are you running out of disk space or something?
    The error it self it not related to prefabs. The prefabs system simply relies on the lower level file operations of the editor and I don't know why they would fail.
     
  3. unity_2jxHNVY36zr2mg

    unity_2jxHNVY36zr2mg

    Joined:
    Jan 17, 2020
    Posts:
    86
    No, i have enough disk space, like 250+ GB on samsung evo 870 SSD
     
  4. God-at-play

    God-at-play

    Joined:
    Nov 3, 2006
    Posts:
    330
    I'm seeing this on Unity 2019.4.8f1, and for this project it's when I select a GameObject in a prefab with an OVROverlay component on it (from the Oculus SDK), and that

    I'm not running out of drive space, either. Deleting the project Temp folder didn't help.
     
    Last edited: Dec 2, 2021
  5. SteenLund

    SteenLund

    Unity Technologies

    Joined:
    Jan 20, 2011
    Posts:
    639
    It seems like we are getting sporadic reports of this and one cause could antivirus software locking the files, if you have something like that maybe disabling it for your Unity project makes the problem go away.
     
  6. unity_2jxHNVY36zr2mg

    unity_2jxHNVY36zr2mg

    Joined:
    Jan 17, 2020
    Posts:
    86
    i have no any kind of anti-virus software installed
     
    Last edited: Dec 4, 2021