Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Unhandled Access Violation in ntdll.dll When Building Assets For Scene.

Discussion in 'Editor & General Support' started by Oruji, Jul 21, 2015.

  1. Oruji

    Oruji

    Joined:
    Nov 5, 2012
    Posts:
    14
    Everytime I try to build my project; Unity Editor crashes when the compiler reaches "Building assets for scene".

    Note, it crashes, not freeze.

    Scene 0 builds fine because there is barely anything in it, but any other scene fails with.

    Unhandled exception at 0x00007FFB19A9B179 (ntdll.dll) in Unity.exe: 0xC0000005: Access violation writing location 0x0000000000000118.

    I'm using V5.1.2f1 and I've tried reinstalling it.

    I did not have this problem a few months ago with 4.x, but the project has grown a lot since then and I have not built an .exe since then.

    Game runs fine in editor.

    Any advice on how to debug this is greatly appreciated.

    Thanks.
     
    Last edited: Jul 21, 2015
  2. Oruji

    Oruji

    Joined:
    Nov 5, 2012
    Posts:
    14
    I answered my own question at: http://answers.unity3d.com/answers/1012302/view.html

    My issue was very specific, but perhaps this can help someone debug a similar issue.

    But I have not found the root cause, recommendations of where to look next are appreciated.
     
unityunity