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
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug (Case 1342740) Corrupted NavMesh.asset causes Editor to crash

Discussion in '2021.2 Beta' started by Peter77, Jun 12, 2021.

  1. Peter77


    QA Jesus

    Jun 12, 2013
    Having a corrupted
    file in the project causes the editor to crash.

    1. Open provided project
    2. Open SampleScene (if you get this far at all)

    The editor crashes.

    No crash. The editor displays an error that the NavMesh can't be loaded.

    Code (CSharp):
    1. (Unity) SafeBinaryRead::Transfer<unsigned char>
    2. (Unity) SafeBinaryRead::TransferWithTypeString<Hash128>
    3. (Unity) NavMeshTileData::Transfer<SafeBinaryRead>
    4. (Unity) SafeBinaryRead::TransferSTLStyleArray<std::vector<NavMeshTileData,stl_allocator<NavMeshTileData,82,16> > >
    5. (Unity) NavMeshData::Transfer<SafeBinaryRead>
    6. (Unity) NavMeshData::VirtualRedirectTransfer
    7. (Unity) SerializedFile::ReadObject
    8. (Unity) PersistentManager::ReadAndActivateObjectThreaded
    9. (Unity) PersistentManager::ReadObjectThreaded
    10. (Unity) PersistentManager::ReadObject
    11. (Unity) PPtr<Object>::operator Object * __ptr64
    12. (Unity) NativeFormatImporter::EndImport
    13. (Unity) GenerateArtifactMetaInfoImportedAsset
    14. (Unity) ImportToObjects
    15. (Unity) ImportAsset
    16. (Unity) AssetImportWorker::Import
    17. (Unity) AssetImportManager::ImportInProcess
    18. (Unity) AssetImportManager::Import
    19. (Unity) ImportAndPostprocessOutOfDateAssets
    20. (Unity) RefreshInternalV2
    21. (Unity) StopAssetImportingV2Internal
    22. (Unity) RefreshV2
    23. (Unity) AssetDatabase::Refresh
    24. (Unity) Application::InitializeProject
    25. (Unity) WinMain
    26. (Unity) __scrt_common_main_seh
    27. (KERNEL32) BaseThreadInitThunk
    28. (ntdll) RtlUserThreadStart

    Attached Files:

    LeonhardP likes this.