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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Assertion failed on expression: 'CurrentThreadIsMainThread()'

Discussion in 'Windows' started by SiyangLiu, Aug 18, 2022.

  1. SiyangLiu

    SiyangLiu

    Joined:
    Aug 14, 2019
    Posts:
    2
    I load AssetBundle in Editor but mass errors !
    If ignore this errors, Unity Crash.

    Version: Unity 2019.4.31f

    PLEASE HELP!

    Assertion failed on expression: 'CurrentThreadIsMainThread()'
    0x00007FF7BD53258C (Unity) StackWalker::GetCurrentCallstack
    0x00007FF7BD536531 (Unity) StackWalker::ShowCallstack
    0x00007FF7BBB95AE5 (Unity) GetStacktrace
    0x00007FF7BE1EFFCE (Unity) DebugStringToFile
    0x00007FF7BE1EFCE2 (Unity) AssertImplementation
    0x00007FF7BD44B9BF (Unity) MonoScriptManager::GetAllRuntimeScripts
    0x00007FF7BB3E1352 (Unity) UpdateBuildSettingsScriptHashes
    0x00007FF7BAC066B0 (Unity) TestAssetBundleCompatibility
    0x00007FF7BAC14B95 (Unity) AssetBundleLoadFromAsyncOperation::perform
    0x00007FF7BCF576B4 (Unity) PreloadManager::processSingleOperation
    0x00007FF7BCF57CE6 (Unity) PreloadManager::Run
    0x00007FF7BD34A313 (Unity) Thread::RunThreadWrapper
    0x00007FFBC7DD7034 (KERNEL32) BaseThreadInitThunk
    0x00007FFBC84E2651 (ntdll) RtlUserThreadStart

    upload_2022-8-18_13-12-46.png



    upload_2022-8-18_13-17-54.png
     
  2. timke

    timke

    Unity Technologies

    Joined:
    Nov 30, 2017
    Posts:
    395
  3. SiyangLiu

    SiyangLiu

    Joined:
    Aug 14, 2019
    Posts:
    2