Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0a2

2021.2.0a10

Issue ID

1322621

Regression

No

[Asset Bundles] Editor crashes on loading asset bundles when setting the value of AssetBundle.memoryBudgetKB property

Asset Bundles

-

Editor crashes on loading asset bundles when setting the value of AssetBundle.memoryBudgetKB property.

Steps to repro:
1. Open the attached project.
2. Sample scene > Enter the Play mode.
3. Wait until the Terrain to load.
4. Click on the Quit button.

Actual Result:
Editor crashes on clicking on the Quit button.

Expected Result:
The editor should not crash.

Reproducible in:
2021.2.0a10, 2021.2.0a2.

Note: memoryBudgetKB property is introduced in 2021.2.0a2.

Environment:
Occurring on Windows 10 & Mac 10.15.

Stack trace:
========== OUTPUTTING STACK TRACE ==================
0x00007FFE96FFD759 (KERNELBASE) RaiseException
0x00007FF6C12E82AF (Unity) LaunchBugReporter
0x00007FF6C0DAD7CB (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF6C0DADF21 (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF6C21C8F26 (Unity) DebugStringToFilePostprocessedStacktrace
0x00007FF6C21C871B (Unity) DebugStringToFile
0x00007FF6C07A1FFC (Unity) CachedReader::OutOfBoundsError
0x00007FF6C07A2523 (Unity) CachedReader::Read
0x00007FF6C2224DCD (Unity) StreamedBinaryRead::TransferSTLStyleMap<std::map<core::basic_string<char,core::StringStorageDefault<char> >,PPtr<Texture>,std::less<core::basic_string<char,core::StringStorageDefault<char> > >,std::allocator<std::pair<core::basic_string<char,core::StringStorageDefault<char> > const ,PPtr<Texture> > > > >
0x00007FF6C2211D58 (Unity) Shader::Transfer<StreamedBinaryRead>
0x00007FF6C222ED15 (Unity) Shader::VirtualRedirectTransfer
0x00007FF6C0A987BE (Unity) SerializedFile::ReadObject
0x00007FF6C0A7CD66 (Unity) PersistentManager::ReadAndActivateObjectThreaded
0x00007FF6C0A7AEB5 (Unity) PersistentManager::LoadObjectsThreaded
0x00007FF6C0A7ABF4 (Unity) PersistentManager::LoadObjects
0x00007FF6BFEA20A7 (Unity) ProcessAssetBundleEntries
0x00007FF6BFEA0DD8 (Unity) LoadNamedObjectFromAssetBundle
0x00007FF6BFE903A5 (Unity) AssetBundle::LoadAsset_Internal
0x00007FF6C013945F (Unity) AssetBundle_CUSTOM_LoadAsset_Internal
0x000001897EBD8B3C (Mono JIT Code) (wrapper managed-to-native) UnityEngine.AssetBundle:LoadAsset_Internal (UnityEngine.AssetBundle,string,System.Type)
0x000001897EBD8983 (Mono JIT Code) UnityEngine.AssetBundle:LoadAsset (string,System.Type)
0x00000189121289EB (Mono JIT Code) UnityEngine.AssetBundle:LoadAsset (string)
0x000001897EDE94E3 (Mono JIT Code) [C:\Users\GS1799\Downloads\New Unity Project (18)\Assets\LoadAssetBundle.cs:35] LoadAssetBundle/<WebReq>d__2:MoveNext ()
0x000001897EDE917C (Mono JIT Code) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
0x000001897EDE92A7 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr (object,intptr,intptr,intptr)
0x00007FFE4915E4F0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007FFE490E2912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
0x00007FFE490EB96F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
0x00007FF6C0A137D4 (Unity) scripting_method_invoke
0x00007FF6C0A0EE51 (Unity) ScriptingInvocation::Invoke
0x00007FF6C09CD9EF (Unity) Coroutine::Run
0x00007FF6C09CDB21 (Unity) Coroutine::Run
0x00007FF6C09CB73C (Unity) Coroutine::ContinueCoroutine
0x00007FF6C0564AB4 (Unity) DelayedCallManager::Update
0x00007FF6C07599E6 (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunDelayedDynamicFrameRateRegistrator::Forward
0x00007FF6C0741B1C (Unity) ExecutePlayerLoop
0x00007FF6C0741BF3 (Unity) ExecutePlayerLoop
0x00007FF6C0746D39 (Unity) PlayerLoop
0x00007FF6C0EC8592 (Unity) PlayerLoopController::UpdateScene
0x00007FF6C0EC6A41 (Unity) Application::TickTimer
0x00007FF6C12B9C31 (Unity) MainMessageLoop
0x00007FF6C12BD93A (Unity) WinMain
0x00007FF6C2E458C2 (Unity) __scrt_common_main_seh
0x00007FFE97CD7034 (KERNEL32) BaseThreadInitThunk
0x00007FFE99362651 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a11.1652

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.