Quantcast
Channel: Latest Questions by Aaron_T
Viewing all articles
Browse latest Browse all 15

Game runs in Editor, crashes on startup after build. "Access Violation (0xc0000005)"

$
0
0
Hello, as the title states the game runs flawlessly in the Unity Editor, but crashes on startup when I try to run it after it's built. The problem only started after upgrading to Unity 5, there never was a problem when running the game when built with Unity 4. I'll post a bit of the error log and the stack trace as well. One thing I noticed that's strange in the error log is that physical memory and paging file both only have 0 MB free. Here's a bit of error.log... > space_combat_apr_19_2015.exe caused an> Access Violation (0xc0000005) in> module space_combat_apr_19_2015.exe at> 0023:014047c8.>> Error occurred at 2015-04-19_182504.> C:\Users\ASUS-tech\Dropbox\Coding\Unity\Test\Space> Combat\Builds\Apr> 19\space_combat_apr_19_2015.exe, run> by ASUS-tech. 36% memory in use. 0 MB> physical memory [0 MB free]. 0 MB> paging file [0 MB free]. 0 MB user> address space [3773 MB free]. Read> from location 00000000 caused an> access violation.>> Context: EDI: 0x00000000 ESI:> 0x04259650 EAX: 0x000f4000 EBX: > 0x00000000 ECX: 0x04259650 EDX: > 0x011d5ae0 EIP: 0x014047c8 EBP:> 0x0106f0fc SegCs: 0x00000023 EFlags:> 0x00010202 ESP: 0x0106f0f0 SegSs:> 0x0000002b And here is the stack trace from output_log.txt... > ========== OUTPUTING STACK TRACE ==================>> 014047C8 (space_combat_apr_19_2015)> Unity::Material::CreateMaterial> 016DFAB1 (space_combat_apr_19_2015)> RectT::Intersects 014E5EE5> (space_combat_apr_19_2015)> AnimationCurveTpl::Sort> 05161753 (Mono JIT Code)> UnityEngine.UI.Graphic:get_defaultGraphicMaterial> () 0516171B (Mono JIT Code)> UnityEngine.UI.Graphic:get_defaultMaterial> () 05161701 (Mono JIT Code)> UnityEngine.UI.Graphic:get_material ()> 051613B7 (Mono JIT Code)> UnityEngine.UI.MaskableGraphic:get_material> () 0516122C (Mono JIT Code)> UnityEngine.UI.Graphic:get_materialForRendering> () 051611AF (Mono JIT Code)> UnityEngine.UI.Graphic:UpdateMaterial> () 0515E82D (Mono JIT Code)> UnityEngine.UI.Graphic:Rebuild> (UnityEngine.UI.CanvasUpdate) 0515E12C> (Mono JIT Code)> UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate> () 0515DE38 (Mono JIT Code)> UnityEngine.Canvas:SendWillRenderCanvases> () 051402FB (Mono JIT Code) (wrapper> runtime-invoke)> object:runtime_invoke_void> (object,intptr,intptr,intptr) 100F054D> (mono) mono_set_defaults 1005D812> (mono) mono_runtime_invoke 01324FAE> (space_combat_apr_19_2015)> scripting_gchandle_get_target 013D1239> (space_combat_apr_19_2015)> ScriptingArguments::AddString 013D12AE> (space_combat_apr_19_2015)> ScriptingArguments::AddString 013D12D5> (space_combat_apr_19_2015)> ScriptingArguments::AddString 016E2620> (space_combat_apr_19_2015)> RectT::Intersects 01396675> (space_combat_apr_19_2015)> UserList::AddUser 0142DB81> (space_combat_apr_19_2015)> PlayerMainWndProc 0142F800> (space_combat_apr_19_2015)> PlayerWinMain 01764E98> (space_combat_apr_19_2015)> RemapPPtrTransfer::TransferTypelessData> 0179BECF (space_combat_apr_19_2015)> RemapPPtrTransfer::TransferTypelessData> 75EA7C04 (KERNEL32)> BaseThreadInitThunk 7774AD1F (ntdll)> RtlInitializeExceptionChain 7774ACEA> (ntdll) RtlInitializeExceptionChain>> ========== END OF STACKTRACE ===========>> **** Crash! **** Any help is greatly appreciated, thanks!

Viewing all articles
Browse latest Browse all 15

Latest Images

Trending Articles





Latest Images