Search Unity

Crash on MeshFilter.mesh

Discussion in 'Addressables' started by HuangWM, Aug 2, 2019.

  1. HuangWM

    HuangWM

    Joined:
    Nov 3, 2015
    Posts:
    45
    It all right when use fast Play Mode Script, but crash on packed Play Mode Script.
    My Unity version is 2018.3.8f1
    Addressable version is 1.1.5

    Code (CSharp):
    1. GetComponent<MeshFilter>().mesh;
    Error:
    Stack Trace of Crashed Thread 4640:
    0x0000000140831902 (Unity) MeshAsyncUpload::SyncForMainThread
    0x00000001408239CE (Unity) Mesh::CompleteUploadCommand
    0x000000014082298A (Unity) Mesh::AwakeFromLoad
    0x000000014082BB37 (Unity) Mesh::GetInstantiatedMesh
    0x000000014083AF0E (Unity) MeshFilter::GetInstantiatedMesh
    0x00000001417AE2F5 (Unity) MeshFilter_Get_Custom_PropMesh
    0x000000007FFD57A3 (UnityEngine.CoreModule) UnityEngine.MeshFilter.get_mesh()
    0x000000007FFD3BB3 (Assembly-CSharp) VFXReplaceMeshWithSpacecraft.Apply()
    0x00000000724DF77B (Assembly-CSharp) VFXManager.ApplyMeshSubstitute()
    0x00000000724DD48B (Assembly-CSharp) VFXManager.CreateEffect()
    0x00000000724DC9BB (Assembly-CSharp) VFXManager.CreateEffect()
    0x00000000724DC763 (Assembly-CSharp) <>c__DisplayClass8_0.<CreateEffect>b__0()
    0x000000005A6B7647 (Unity.ResourceManager) DelegateList`1.Invoke()
    0x000000004FD3E5ED (Unity.ResourceManager) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1.InvokeCompletionEvent()
    0x000000004FD3E19B (Unity.ResourceManager) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1.Complete()
    0x000000004FD3DA03 (Unity.ResourceManager) UnityEngine.ResourceManagement.AsyncOperations.ProviderOperation`1.ProviderCompleted()
    0x000000004FD3D132 (Unity.ResourceManager) UnityEngine.ResourceManagement.ResourceProviders.ProvideHandle.Complete()
    0x0000000053177173 (Unity.ResourceManager) InternalOp.ActionComplete()
    0x000000004FEC6A40 (UnityEngine.CoreModule) UnityEngine.AsyncOperation.InvokeCompletionEvent()
    0x00000000670490C8 (mscorlib) System.Object.runtime_invoke_void__this__()
    0x00007FFDE26CBE6B (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    0x00007FFDE2651E32 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2919] do_runtime_invoke
    0x00007FFDE265AE3F (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2966] mono_runtime_invoke
    0x0000000140C04B9A (Unity) scripting_method_invoke
    0x0000000140BF516A (Unity) ScriptingInvocation::Invoke
    0x00000001408E461E (Unity) AsyncOperation::InvokeCoroutine
    0x00000001409ADFF7 (Unity) PreloadManager::UpdatePreloadingSingleStep
    0x00000001409ADC5D (Unity) PreloadManager::UpdatePreloading
    0x000000014096195B (Unity) `InitPlayerLoopCallbacks'::`2'::EarlyUpdateUpdatePreloadingRegistrator::Forward
    0x00000001409610B7 (Unity) ExecutePlayerLoop
    0x0000000140961183 (Unity) ExecutePlayerLoop
    0x0000000140964441 (Unity) PlayerLoop
    0x00000001413413DF (Unity) PlayerLoopController::UpdateScene
    0x000000014133F990 (Unity) Application::TickTimer
    0x000000014149BCEB (Unity) MainMessageLoop
    0x000000014149D986 (Unity) WinMain
    0x00000001424884BA (Unity) __scrt_common_main_seh
    0x00007FFE2E9B7974 (KERNEL32) BaseThreadInitThunk
    0x00007FFE2F4EA271 (ntdll) RtlUserThreadStart
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    Have any more code than that? Hard to tell what's going on with just that level of context.

    You could also file a bug report against Unity with a repro project to help us get to the bottom of it.
     
  3. HuangWM

    HuangWM

    Joined:
    Nov 3, 2015
    Posts:
    45
    Sorry. Our project is about 100G and I can't upload it via repro. I tried a new project but couldn't reproduce it.