Search Unity

!IsMetaFile(assetPath.c_str(), assetPath.size())

Discussion in 'Editor & General Support' started by jujunosuke, Feb 28, 2015.

  1. jujunosuke

    jujunosuke

    Joined:
    Apr 30, 2011
    Posts:
    190
    Hi everyone!
    Recently i have this strange error that appear in my log

    !IsMetaFile(assetPath.c_str(), assetPath.size())

    It is very annoying and i have no idea where it come from.
    I also don't know how to solve it.

    Do any of you guys have seen this error before?
    If yes what is the problem and possible solution to solve it?

    Best regards.
     
  2. jujunosuke

    jujunosuke

    Joined:
    Apr 30, 2011
    Posts:
    190
    Up please
     
  3. jujunosuke

    jujunosuke

    Joined:
    Apr 30, 2011
    Posts:
    190
    Ok i found the solution.

    To anyone having this problem, look at the Unity Log file
    http://docs.unity3d.com/Manual/LogFiles.html

    You can read a lof of information on the console.
    Then i saw the log showing a corrupted file.

    After deleting this file, the !isMetaFile error message was gone :)

    Hompe that help anyone stuck in the same situation.
    Best regards.
     
  4. raysoflight

    raysoflight

    Joined:
    Jun 4, 2016
    Posts:
    2
    Thanks for your post; I have this error as well. How did you end up figuring out which Metafiles are corrupted?
    I only see this log statement after turning all logging to full, but it won't show me exactly what path is corrupted.

    --

    (Filename: C:\buildslave\unity\build\Editor/Src/AssetPipeline/AssetInterface.cpp Line: 896)

    Assertion failed on expression: '!IsMetaFile(assetPath.c_str(), assetPath.size())'
    0x000000014151284B (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x00000001415144FE (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x00000001414E5753 (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x00000001411E60EA (Unity) physx::shdfnd::Foundation::getNamedAllocMap
    0x00000001411E655C (Unity) physx::shdfnd::Foundation::getNamedAllocMap
    0x0000000140158A28 (Unity) physx::shdfnd::Foundation::getErrorMutex
    0x0000000141486109 (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x0000000141536AF5 (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x00007FFA1E911C24 (USER32) CallWindowProcW
    0x00007FFA1E911917 (USER32) CallWindowProcW
    0x00007FFA1E922563 (USER32) MapWindowPoints
    0x00007FFA1F839C54 (ntdll) KiUserCallbackDispatcher
    0x00007FFA1BD310C4 (win32u) NtUserPeekMessage
    0x00007FFA1E91E5BD (USER32) PeekMessageW
    0x00007FFA1E91E3A3 (USER32) PeekMessageA
    0x0000000141551827 (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x0000000141553031 (Unity) physx::shdfnd::Foundation::getTempAllocMutex
    0x000000014186E3FC (Unity) physx::shdfnd::Foundation::getNamedAllocMutex
    0x00007FFA1E578364 (KERNEL32) BaseThreadInitThunk
    • 0x00007FFA1F7F70D1 (ntdll) RtlUserThreadStart